function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

if (screen.availWidth)
{
	var scrWidth  	= screen.availWidth;
	var scrHeight	= screen.availHeight;
}
else
{
	var scrWidth  	= 800;
	var scrHeight	= 600;
}

function popWin(url, title, width, height)
// Popup window to display news / notice popup
{
TimeoutArg = "popWin2('"+escape(url)+"','"+escape(title)+"',"+width+","+height+")";
setTimeout(TimeoutArg, 1500)
}
/*-------------------------------------------------------------------------------------------*/
function popWin2(escurl, esctitle, width, height)
// Popup window to display offer
{	
	url 	= unescape(escurl);
	title 	= unescape(esctitle);

	winleft = scrWidth-width-20; 
	wintop  = 0;	
	
	params  = "scrollbars=no,resizable=no,width="+width+",height="+height;
	
	WinPop = window.open(url,title,params);
	WinPop.moveTo(winleft,wintop);
	WinPop.focus();
}


function LoadIntroduction()
{
var introduction = document.getElementById('Introduction1').innerHTML;
document.getElementById('Introduction2').innerHTML = introduction;
var introductionC = document.getElementById('Contents1').innerHTML;
document.getElementById('Contents2').innerHTML = introductionC;
var introductionL = document.getElementById('Links1').innerHTML;
document.getElementById('Links2').innerHTML = introductionL;
}

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);
