//***************************************************************************
// _blankWindow																*														*
// comments: You can call this function wherever you like to open a new 	*
//				window. You can call externalLinks() method in lieu of HTML *
//				target =_blank attribute.									*
//***************************************************************************
function Blank_window() {
}


Blank_window.prototype.externalLinks = function() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");

	for (var i=0; i<anchors.length; i++) {
   		var anchor = anchors[i];
   		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
			anchor.target = "_blank";
   		}
 	}
}

function show(id){
	element		= document.getElementById(id);
	element.className = 'show';
}

function hide(id){
	element		= document.getElementById(id);
	element.className = 'hide';
}
