

function FullScreenWebsite(url) {
	var window_height = screen.availHeight - 30;
	var window_width = screen.availWidth - 6;
	var window_top = (screen.availHeight-window_height)/2-10;
	var window_left = (screen.availWidth-window_width)/2-5;
	nw = window.open('','newwindoes','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=toolbar=no,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,maximize=yes,minimize=yes');
	if(!nw) nw = top;
	nw.location.href = url;
	return false;
}

function copyit(theField) {
	var tempval=eval("document."+theField)
	tempval.focus()
	tempval.select()
	therange=tempval.createTextRange()
	therange.execCommand("Copy")
}

function externalLinks() {   
 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";   
 }   
}   



