function openNewImidge(){
	newim=window.open("http://www.creativetechnologie.com/.ru/", "newimidge", "resizable=yes,location=yes,toolbar=yes, status=yes, menubar=yes, width="+screen.availWidth+",height="+screen.availWidth+",top=0");
	//newim.maximize();
};

function openNewWin(url){
	newim=window.open(url, "new_window", "resizable=yes,location=yes,toolbar=yes, status=yes, menubar=yes, width="+screen.availWidth+",height="+screen.availWidth+",top=0");
};

/*
HV=function() 
{
 var li = document.getElementById("Menu").getElementsByTagName("LI");
 for (var i=0; i<li.length; i++) 
  { 
   li[i].onmouseover=function() { this.className="ieh"; }
   li[i].onmouseout=function() { this.className=this.className=""; }
  }
}

if (window.attachEvent) window.attachEvent("onload", HV);
*/

function mover(n)
{
 document.all["ds"+n].style.display="block";
}
function mout(n)
{
 document.all["ds"+n].style.display="none";
}
function mover_png(n)
{
 document.all["ds"+n].style.display="block";
 document.all["png"].style.display="block";
}
function mout_png(n)
{
 document.all["ds"+n].style.display="none";
 document.all["png"].style.display="none";
}

function openpic(scr)
{
 window.open("/openpix.php?src="+scr, "pic", "resizable=yes,location=no,width=300,height=300,top=0");
};
/*
function menu_show()
{
 document.getElementById("menuflash").style.display="block";
 document.getElementById("menugif").style.display="none"; 
};

function menu_hide() 
{
 document.getElementById("menugif").style.display="block";
 document.getElementById("menuflash").style.display="none";
};
*/
function menu_show()
{
	document.getElementById("Menu").style.height="520px";
	if (document.getElementById('b2')){
		var b2=document.getElementById('b2');
		b2.style.display='none';
	}
	
};

function menu_hide() 
{
	document.getElementById("Menu").style.height="30px";
	if (document.getElementById('b2')){
		var b2=document.getElementById('b2');
		b2.style.display='block';
	}
};

function flash_menu_stop() 
{
 menu_hide();
}

function thisMovie(movieName) 
{
 if (navigator.appName.indexOf("Microsoft") != -1)  return window[movieName]; else  return document[movieName];
}


function mousePageXY(e)
{
 var x = 0;
 if (!e) e = window.event;
 if (e.pageX || e.pageY)
 {
  x = e.pageX;
  y = e.pageY;
 }
 else if (e.clientX || e.clientY)
 {
  x = e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft;
  y = e.clientY + (document.documentElement.scrollTop || document.body.scrollTop) - document.documentElement.clientTop;
 };

 if (document.getElementById("tizers"))
  {
   document.getElementById("tizers").style.top=y-140;
   document.getElementById("tizers").style.left=x-360;
  };

};

document.onmousemove = function(e)
{
 var mCur = mousePageXY(e); 
};

function tizer_over(it)
{
 if (document.all[it]) document.all[it].style.display="block";
};

function tizer_out(it)
{
 if (document.all[it]) document.all[it].style.display="none";
};

function onResizeFunc(){

}

//AJAX

//top html text menu
function tmBtnMove(src){
	if(document.getElementById('s'+src.id).style.display!='block'){
	src.style.background='url(/i/tmBtnActive.gif)';
	src.style.color='#ffffff';
	document.getElementById('s'+src.id).style.display="block";
	//document.getElementById("Menu_html").style.height='500px';
	}
}
function tmBtnOut(src){
	src.style.background='url(/i/tmBtn.gif)';
	src.style.color='#000000';
	document.getElementById('s'+src.id).style.display="none";
}
function tmBtnOut1(srcNum){
	src=document.getElementById("tm"+srcNum);
	src.style.background='url(/i/tmBtn.gif)';
	src.style.color='#000000';
	document.getElementById('s'+src.id).style.display="none";
}

// !    top html text menu

