function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function homeCheck(){
	var url = "" + parent.document.location;
	var j = url.indexOf('www');
	alert(j)
	var src = "";
    src = url.substring(j+4, j+7);
	//alert(url);
	alert(src);
	
	switch (src){
		case "xen": 
		MM_swapImage('theLogo','','images/theFirm.gif',1);
		break;
		case "end": 
		MM_swapImage('theLogo','','images/theFirm.gif',1);
		break;
 }
 
function gallery_select(){
content.window.location = document.forms.gallery.gallery_selector.value;
}

alert('');

 

