function Announce(){
var o=eval(document.SHForm.SHO.value);

	switch(o) {
 	case 1: 
 			MoreInfo('V41_Contacts_popup.html'); 
           // break;
 	case 2:
 			window.location = "http:\\www.vespo41.com\V41Shered\V41_Index.html" ; //computers
		  //  break;
	case 3:
 			window.location = "http:\\www.vespo41.com\V41Shered\V41_Index.html" ; //services
		  //  break;		
	case 4:
 			window.location = "http:\\www.vespo41.com\V41Shered\V41_Index.html" ; //consumables
		  //  break;	
	case 5:
 			window.location = "http:\\www.vespo41.com\V41Shered\V41_Index.html" ; //About us
		  //  break;	
	case 6:
 			window.location = "http:\\www.vespo41.com\V41Shered\V41_Index.html" ; //Annonces
		  //  break;	
	}
}


var InfoWindow = null;
/************************************/
function MoreInfo(MyDocument)
/***********************************/
{
 if (InfoWindow !=null) {
    
 	InfoWindow.close();
}

 InfoWindow = window.open(MyDocument,"", "location=no, directories=no, menubar=no, resizable= no, scrollbars=yes, status=no, titlebar=yes, toolbars=no ");
}


var PopUpWindow = null;
/*************************************************/
  function PopUp(MyDocument, x, y, w, h)
/*************************************************/
{
var para = "";	

 if (PopUpWindow  !=null) {
    
 	PopUpWindow.close();
}
 PopUpWindow= window.open(MyDocument,"", "location=no, directories=no, menubar=no, resizable= no, scrollbars=yes, status=no, titlebar=yes, toolbars=no ");

}


/*****************************/
 function LoadOnTop_()
/****************************/
{  
var f =0;
	f = eval(window.top.frames.length);	
	// alert(f);
    if (f == 0 ) {
	  	window.location = "V41_Index.html";  //???????????????????
	}
}
/* ------------------------------------------*/
   function LoadOnTop()
/* ------------------------------------------ */
 {
   if (top.location != self.location)
   {
	   top.location = window.location;
   }

 }

var TMPopUp = null;
function ShowTM()
{
 if (TMPopUp !=null) {
 	TMPopUp.close();
}
//alert("???");
 	TMPopUp = window.open("TM.html","TradeMArks", "location=no, directories=no, menubar=no, resizable= yes, scrollbars=no, status=no, titlebar=no, toolbars=no, width=680, height=340");
	TMPopUp.resizeTo(720,350);
}

/*****************************/
function showTime()
/*****************************/
{  
    //alert("Timer OnLine");
	
    var now = new Date();
    var h,m,s,t, TheTime;
	h = now.getHours();
	m = now.getMinutes();
	s = now.getSeconds();
	var day = now.getDate();
	var month = now.getMonth()+1; // numbered from 0
	var year = now.getYear();
	if (year < 1900) year += 1900;
     

	//document.f1.myDate.value = (day.toString() + "." +month.toString() + "." +year.toString());
	//document.f1.myTimer.value = h.toString(10) + ":" +  m.toString(10) + ":" + s.toString(10);
	TheTime = (day.toString() + "." +month.toString() + "." +year.toString()) + "  " + h.toString(10) + ":" +  m.toString(10) + ":" + s.toString(10);
	//alert(TheTime);
	document.f1.myTimer.value = TheTime;
	t=setTimeout("showTime()", 1000);
	
	return true;
}

function SetBrowser(){
	var  ie4 = (document.all && !document.getElementById) ? true : false;
	var  ie5 = (document.all && document.getElementById) ? true : false;
	var  ns4 = (document.layers) ? true : false;
	var  ns6 = (document.getElementById && !document.all) ? true : false;
}

function LMenuOut(n)
{
	 if (document.getElementById) {
		document.getElementById("LMenu_"+n).style.backgroundColor =  "";
     }
}

function LMenuOver(n)
{

	if (document.getElementById) {

	document.getElementById("LMenu_"+n).style.backgroundColor  = "#F3F3F3";
	document.getElementById("LMenu_"+n).style.fontHeight = 16;
	}
}
function LMenuActive(n)
{
   n.style.bacgroundColor = "#F0F0F0";
}

function HMenuOut(n)
{
	 if (document.getElementById) {
		document.getElementById("HMenu_"+n).style.backgroundColor =  "";
		document.getElementById("_HMenu_"+n).style.backgroundColor =  "";
     }
}

function HMenuOver(n)
{

	if (document.getElementById) {

	document.getElementById("HMenu_"+n).style.backgroundColor  = "#F3F3F3";
	document.getElementById("HMenu_"+n).style.fontHeight = 16;
	document.getElementById("_HMenu_"+n).style.backgroundColor =  "#BDC8DE";
	}
}
function HMenuActive(n)
{
   n.style.bacgroundColor = "#F0F0F0";
}