function showAnyImage(strName,boo_orientation)
	{
	var int_height;
	var int_width;
	var popWidth;
	var popHeight;
	if (boo_orientation == 1)
		{
		
		int_width = 800;
		int_height = 600;
		popWidth = (window.screen.width/2)- (int_width/2) + 10;
		popHeight = (window.screen.height/2)-(int_height/2) + 10;
		}
	else if (boo_orientation == 0 )
	{
		int_width = 480;
		int_height = 640;
		popWidth = (window.screen.width/2)- (int_width/2) + 10;
		popHeight = (window.screen.height/2)-(int_height/2) -20;
		//alert(popHeight);
	}
	window.open ("showAnyImage.asp?cmd=show&img=" + strName + "&intOrient=" + boo_orientation, "ImageHolder","toolbar=0,resizable=0,location=0,menubar=0,status=0,width="+ int_width +",height="+ int_height +",left=" + popWidth + ",top=" + popHeight + ",screenX=" + popWidth + ",screenY=" + popHeight + ",scrollbars=0" )
	}

function showAd(strName, intWidth, intHeight)
	{
	popWidth = (window.screen.width/2)- (intWidth/2) + 10;
	popHeight = (window.screen.height/2)-(intHeight/2) -20;
	window.open (strName, "AdHolder","toolbar=0,resizable=0,location=0,menubar=0,status=0,width="+ intWidth +",height="+ intHeight +",left=" + popWidth + ",top=" + popHeight + ",screenX=" + popWidth + ",screenY=" + popHeight + ",scrollbars=0" )
	}
	
	
function openUploadWin(strPage, strType, intID, strWindowName, booOrientation)
	{
	var int_height;
	var int_width;
	var popWidth;
	var popHeight;
	if (booOrientation == 1)
		{
		int_width = 500;
		int_height = 200;
		popWidth = (window.screen.width/2)- (int_width/2) + 10;
		popHeight = (window.screen.height/2)-(int_height/2) + 10;
		}
	else if (booOrientation == 0 )
	{
		int_width = 480;
		int_height = 640;
		popWidth = (window.screen.width/2)- (int_width/2) + 10;
		popHeight = (window.screen.height/2)-(int_height/2) -20;
	}
	window.open ( strPage + "?cmd=" +  strType + "&iID=" + intID, strWindowName,"toolbar=0,resizable=0,location=0,menubar=0,status=0,width="+ int_width +",height="+ int_height +",left=" + popWidth + ",top=" + popHeight + ",screenX=" + popWidth + ",screenY=" + popHeight + ",scrollbars=0" )
	}
		