



// runs on pageload
var bExtraPreLoadCommands = false;
function RunOnLoad()
{
	FixExternalLinks();
	//preloadimages();

	// look for the bExtraOnLoadCommands flag and run extra functions if they are present
	if (bExtraPreLoadCommands)
	{
		ExtraOnLoadCommands();
	}
}


// used for portfolio sample popups
function MakePopUp(sImageName, sPortName, iWidth, iHeight) 
{ 
	iWidth2  = iWidth + 50;
	iHeight2 = iHeight + 120;
	displayWindow = window.open("port_closeup.php?theImageName="+sImageName+"&thePortName="+sPortName+"&theWidth="+iWidth+"&theHeight="+iHeight, sImageName, "toolbar=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,top=20,left=20,width=" + iWidth2 + ",height=" + iHeight2);
}



