
function popFrame(link) {
    document.all('theIframe').style.display='block'
	Iframe.location.href = link ;
}



function popWinFrame(url) {

 if ((screen.width == 640) && (screen.height == 480))
    {
 	HWsize="height=93,width=255";
 	XYpos ="left=350,top=330";
    }
 else if ((screen.width == 800) && (screen.height == 600))
    {
       	HWsize="height=112,width=310";
       	XYpos ="left=453,top=418";
    }
 else if ((screen.width == 1280) && (screen.height == 1024))
    {
       	HWsize="height=178,width=505";
       	XYpos ="left=735,top=723";
    }
 else
    {
       	HWsize="height=142,width=405";
       	XYpos ="left=580,top=543";
    }

window.name = 'meWindow'


var d = new Date();

meWindow=window.open(url,'meWindow',XYpos+","+HWsize+",scrollbar=yes,directories=no,location=no,menubar=no,personalbar=no,resizable=no,titlebar=no,toolbar=no");
// meWindow=window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(),XYpos+","+HWsize+",scrollbar=yes,directories=no,location=no,menubar=no,personalbar=no,resizable=no,titlebar=no,toolbar=no");
//document.onload=msgWindow;

//var meWindow = window.open(url,'meWindow' ,"menu=yes,resizable=yes,height="+200+",width="+200+",scrollbars=yes");
//meWindow.location.href=url;
meWindow.focus();


}


function popupResize(url, width, height, scrollbars)
{
     scrollbars = (scrollbars == 1) ? "yes" : "no";
     var d = new Date();
     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(),"menu=yes,resizable=yes,height="+height+",width="+width+",scrollbars="+scrollbars);
     win.focus();
}

function popupFix(url, width, height)
{
     popupFix(url, width, height, 1)
}

function popupFix(url, width, height, scrollbars)
{
     scrollbars = (scrollbars == 1) ? "yes" : "no";
     var d = new Date();
     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(),"resizable=no,height="+height+",width="+width+",scrollbars="+scrollbars+",left=100,top=100");
     win.focus();
}

function popupWin(url)
{     
     var d = new Date();
     var height = 455 //364;
     var width = 552; //622
     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds(),"menu=yes,resizable=yes,height="+height+",width="+width+",scrollbars=yes");
     win.focus();
}

function popupFullWin(url)
{     
     var d = new Date();
     var height = 455 //364;
     var width = 552; //622
     var win = window.open(url,d.getHours()+d.getMinutes()+d.getSeconds());
     win.focus();
}



function showhide(what,what2){

	if (what.style.display=='none') {
		what.style.display='inline';
		what2.style.display='none';
	}	
	else{
		what.style.display='none';
		what2.style.display='inline';			
	}

}


//-->
