		
$(document).ready(function(){
// Image Rollover
	$("img[src*='_on']").addClass("current");

	$("img,input").mouseover(function(){
		if ($(this).attr("src")){
			$(this).attr("src",$(this).attr("src").replace("_off.", "_on."));
		}
	});

	$("img[class!='current'],input").mouseout(function(){
			if ($(this).attr("src")){
				$(this).attr("src",$(this).attr("src").replace("_on.", "_off."));
			}
	});

// External Link
	$("a[rel=external]").click(function(){
		window.open(this.href,"_blank");
	return false;
	});
});														

//window.onload = function (){
//	var conf = {
//		className:'externalLink'
//	};
//	var anchorList = document.getElementsByTagName('a');
//	    for (var i=0, len=anchorList.length; i<len; i++){
//			var a = anchorList[i];
//			if (a.getAttribute('href').match(/^http:\/\//)){
//				a.className = conf.className;
//				a.onclick = function (){
//					window.open(this.getAttribute('href'), '_blank');
//					return false;
//				}
//			}
//		}
//};
