function definediv_press()
	{
		if(divonoff_p == "off")
		{
			if(scrwidth >800 && scrwidth <=1024)
				height_p = 500;
			else if(scrwidth >=1200 &&  scrheight<=800)
				height_p = 542;
			else
				height_p = 710;
			
			iheight_p = 100;
			divonoff_p = "on";
			divMinusOne_press();
		}
		else
		{
			
			if(scrwidth >800 && scrwidth <=1024)
				document.getElementById("pressgallery").style.top = 500;
			else if(scrwidth >=1200 &&  scrheight<=800)
			{
				document.getElementById("pressgallery").style.top = 542;
			}
			else 
			document.getElementById("pressgallery").style.top = 720;
			
			document.getElementById("pressgallery").style.display="";
			document.getElementById("pressgallery").style.height="1px";
			
			if(scrwidth >800 && scrwidth <=1024)
				height_p = 500;
			else if(scrwidth >=1200 &&  scrheight==800)
				height_p = 542;
			else if(scrwidth >=1200 &&  scrheight<800)
				height_p = 500;
			else
				height_p = 720;
			
			iheight_p = 1;
			Snork_press();
			divonoff_p="off";
		}
	}
			
	function Snork_press()
	{
		if(iheight_p <= 100) 
		{
			document.getElementById("pressgallery").style.visibility = "visible";	
			iheight_p = iheight_p + 1;
			document.getElementById("pressgallery").style.top = height_p + 'px';	
			document.getElementById("pressgallery").style.height = iheight_p + 'px';
			window.setTimeout('Snork_press()', 1);
		}
	}
	
	function divMinusOne_press() 
	{
		if(iheight_p >= 10) 
		{
			iheight_p = iheight_p - 1;
			document.getElementById("pressgallery").style.height = iheight_p + 'px';
			window.setTimeout('divMinusOne_press()', 1);
		} 
		
		else 
		{
			document.getElementById("pressgallery").style.visibility = "hidden";
		}
	}