//Function that relocate the Layer activate from GetScreenSize function
//On relocating divs position there is no need to set new top position
function relocateLayers(leftPos,ExpLeftPos)
	{
	
	if (navigator.appName.indexOf("Explorer") != -1) 
		{
			document.all.TopPic.style.left=ExpLeftPos;
		}
	else
		{
			document.getElementById('TopPic').style.left=leftPos;			
		}	
	}
	
//Function that get the screen size, activated we resizing the window
function GetScreenSize()
	{
		var width=document.body.offsetWidth;
			
		if (width >= 1024)
			{
				leftPos=45;
				ExpLeftPos=45;						
			}
		else 		
			{
				if (width <= 700)
					{
						leftPos=20;
						ExpLeftPos=20;
					}
				else
					{
						leftPos=40;
						ExpLeftPos=40;
					}					
			}		
			relocateLayers(leftPos,ExpLeftPos);			
	}


//Function Open Map window
function open_window(url) {
mywin = window.open(url,"window",'scrollbars=no,resizable=yes,width=600,height=375');
}


