//used to dynamically resize to fit browser window
var height;
var cssRules;
if (document.all) {
	cssRules = 'rules';
	height = document.documentElement.clientHeight;	
} else if (document.getElementById) {
  	cssRules = 'cssRules';
  	height = window.innerHeight;	
}
for (var S = 0; S < document.styleSheets.length; S++){
  	for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {
   		if (document.styleSheets[S][cssRules][R].selectorText == ".border0h100") {
			if (document.all) {
				document.styleSheets[S][cssRules][R].style["height"] = height;
			} else if (document.getElementById) {
  				document.styleSheets[S][cssRules][R].style["height"] = height + "px;";
			}
   		}
  	}
}
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"; 
		}
	} 
	anchors = document.getElementsByTagName("area"); 
	
		for (var i=0; i<anchors.length; i++) { 
			var anchor = anchors[i]; 
			if (anchor.getAttribute("href") && anchor.getAttribute("title") == "external") {
				anchor.target = "_blank"; 
			}
		} 
	
} 
