function loadPop(query) { 
  // extract the query string
  //query = location.search;
  //query = query.substring(1,query.length);
  //alert(query);
  var splitQuery = query.split("|");
  // set the address and name for the new window
  var address = splitQuery[0];
  var windowName = splitQuery[1]; 
  
  // now set some default window values 
  var op_wid  = splitQuery[2];
  var op_heigh = splitQuery[3];
  
  var op_dir     = splitQuery[4];   
  var op_loc_box = splitQuery[5];   
  var op_menu    = splitQuery[6];   
  var op_resize  = splitQuery[7];    
  var op_scroll  = splitQuery[8];    
  var op_stat    = splitQuery[9];    
  var op_tool    = splitQuery[10];     
  
  // compile the values
  var option = "toolbar="+ op_tool +",location="+ op_loc_box +",directories=" 
  + op_dir +",status="+ op_stat +",menubar="+ op_menu +",scrollbars="  
  + op_scroll +",resizable="  + op_resize +",width=" + op_wid +",height="+ op_heigh;
  
  var win3 = window.open("", windowName, option);  
  var win4 = window.open(address, windowName);
  
  win4.focus();
}
// ---------------------------------------------------------------

// ---------------------------------------------------------------
function resizeFlash(sizeX,sizeY) {
	if(document.all && !document.getElementById) {
 		document.all['flashDiv'].style.pixelWidth = sizeX;
 		document.all['flashDiv'].style.pixelHeight = sizeY;
	}else{
		document.getElementById('flashDiv').style.width = sizeX;
		document.getElementById('flashDiv').style.height = sizeY;
	}
}
// ---------------------------------------------------------------
function showPortfolio () {
	var portfolioFill=""+
		"				<table height=\"100%\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" +
		"					<tr>" +
		"						<td>" +
		"							<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " +
		"codebase=\"http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0\"" +
		" ID=splash_flash WIDTH=689 HEIGHT=401>" +
		" <PARAM NAME=movie VALUE=\"http://www.plasticstare.com/corpmodu/flash_000.swf\">" +
		" <PARAM NAME=quality VALUE=high>" +
		"  <PARAM NAME=scale VALUE=noborder>" +
		"  <PARAM NAME=salign VALUE=B>" +
		"  <PARAM NAME=bgcolor VALUE=#99ccff>" +
		"  <EMBED src=\"http://www.plasticstare.com/corpmodu/flash_000.swf\" quality=high scale=noborder salign=B bgcolor=#99ccff  " +
		" WIDTH=689 HEIGHT=401 TYPE=\"application/x-shockwave-flash\" " +
		" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">" +
		" </EMBED></OBJECT>" +
		"						</td>" +
		"					</tr>" +
		"				</table>" +
		"";
	if(document.all && !document.getElementById) {
 		document.all['flashDiv'].style.pixelWidth = 689;
 		document.all['flashDiv'].style.pixelHeight = 32;
 		document.all['flashDiv2'].style.pixelWidth = 689;
 		document.all['flashDiv2'].style.pixelHeight = 401;
 		document.all['flashDiv2'].style.innerHTML = portfolioFill;
	}else{
		document.getElementById('flashDiv').style.width = 689;
		document.getElementById('flashDiv').style.height = 32;
		document.getElementById('flashDiv2').style.width = 689;
		document.getElementById('flashDiv2').style.height = 401;
		document.getElementById('flashDiv2').innerHTML = portfolioFill;
	}
}
// ---------------------------------------------------------------
function hideBottomDiv () {
	var portfolioFill=""+
		"				<table height=\"100%\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" +
		"					<tr>" +
		"						<td align=\"center\">" +
		"							<font face=\"Arial, Helvetica, sans-serif\" size=\"1\" " +
		"								color=\"#ffffff\"><b>__R3S3RV3D SPAC3__</b></font>" +
		"						</td>" +
		"					</tr>" +
		"				</table>" +
		"";
	if(document.all && !document.getElementById) {
 		document.all['flashDiv'].style.pixelWidth = 694;
 		document.all['flashDiv'].style.pixelHeight = 521;
 		document.all['flashDiv2'].style.pixelWidth = 689;
 		document.all['flashDiv2'].style.pixelHeight = 1;
 		document.all['flashDiv2'].style.innerHTML = portfolioFill;
	}else{
		document.getElementById('flashDiv').style.width = 694;
		document.getElementById('flashDiv').style.height = 521;
		document.getElementById('flashDiv2').style.width = 689;
		document.getElementById('flashDiv2').style.height = 1;
		document.getElementById('flashDiv2').innerHTML = portfolioFill;
	}
}






