// JavaScript Document
function validation()
{
   
}


function show_overlay(show,content,win_left,win_width)
{	
	var win_left=0;
	var win_left=(screen.width/2)-(win_width/2);	
	/*win_width=560;*/
	if(show)
	{
		document.getElementById("sbox-overlay").style.visibility='visible';
		document.getElementById("sbox-window").style.visibility='visible';
		document.getElementById("sbox-content").style.visibility='visible';
		document.getElementById("sbox-content").innerHTML=content;
		if(win_width === undefined)
		{}
		else
		{
			document.getElementById("sbox-window").style.width =win_width+'px';
		}
		if (win_left === undefined)
		{}
		else
		{
			document.getElementById("sbox-window").style.left =win_left+'px';
		}
	}
	else
	{
		document.getElementById("sbox-content").innerHTML=content;
		document.getElementById("sbox-overlay").style.visibility='hidden';
		document.getElementById("sbox-window").style.visibility='hidden';
		document.getElementById("sbox-content").style.visibility='hidden';
	}
}

