// JavaScript Document
	
function popupWindow(url) {  		
	window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=350,height=350,screenX=50,screenY=50,top=50,left=50')
}
/*	
function no_menu() { window.event.returnValue=false; }	

//запрет на перетаскивание
document.ondragstart = function drag() {
return false;
}
//запрет на выделение элементов страницы
document.onselectstart = function select(){
return false;
}
//запрет на выведение контекстного меню
document.oncontextmenu = function menu() {
return false;
}
*/
function Init()
{
    el = window.document.getElementById('STable');
    main_div = window.document.getElementById('maindiv');
    //alert(main_div);
	//var offset = getOffset() + "px";
	//el.style.left = offset;	
}	
/*
function getOffset()
{
	N=window.navigator.appName.substring(0,8);
		
	if(N=="Microsof")
		width = document.body.clientWidth; 
	else 
	{
		width = window.innerWidth;h=window.innerHeight;
	}
	
	if(width > 1180)
	    return 10 + (width - 1180) / 2;
	else
		return 10;
}
*/
