<!-- Original:  Premshree Pillai (premshree@hotmail.com ) -->
<!-- Web Site:  http://www.qiksearch.com -->
<!-- Begin

window.onerror = null;
 var bName = navigator.appName;
 var bVer = parseInt(navigator.appVersion);
 var NS4 = (bName == "Netscape" && bVer >= 4);
 var IE4 = (bName == "Microsoft Internet Explorer" 
 && bVer >= 4);
 var NS3 = (bName == "Netscape" && bVer < 4);
 var IE3 = (bName == "Microsoft Internet Explorer" 
 && bVer < 4);
 var blink_speed=150;
 var i=0;
 
if (NS4 || IE4) {
 if (navigator.appName == "Netscape") {
 layerStyleRef="layer.";
 layerRef="document.layers";
 styleSwitch="";
 }else{
 layerStyleRef="layer.style.";
 layerRef="document.all";
 styleSwitch=".style";
 }
}

//BLINKING
function Blink(layerName){
 if (NS4 || IE4) { 
 if(i%2==0)
 {
 eval(layerRef+'["'+layerName+'"]'+
 styleSwitch+'.visibility="visible"');
 }
 else
 {
 eval(layerRef+'["'+layerName+'"]'+
 styleSwitch+'.visibility="hidden"');
 }
 } 
 if(i<1)
 {
 i++;
 } 
 else
 {
 i--
 }
 setTimeout("Blink('"+layerName+"')",blink_speed);
}
//  End -->

function news_open(s,h)
{
	    myWindow=window.open("news"+s+".htm", "news_popup_"+s,"width=500,height="+h);
		myWindow.focus();
}
	function mult_open()
{
	if  (getParam("page")=="") 
	{
//	    myWindow=window.open("mult5.swf", "mult_popup","width=867,height=700");
	    myWindow=window.open("mult5.swf", "mult_popup","width="+screen.width+",height=700");
		myWindow.moveTo(0,(screen.availHeight/2)-350);
		myWindow.focus();
	}
}
	function mult_open2()
{
	    myWindow=window.open("mult5.swf", "mult_popup","width="+screen.width+",height=700");
		myWindow.moveTo(0,(screen.availHeight/2)-350);
		myWindow.focus();
}
function getParam(sParamName){
    var Params = location.search.substring(1).split("&"); // отсекаем «?» и вносим переменные и их значения в массив
    var variable = "";
    for (var i = 0; i < Params.length; i++){ // пробегаем весь массив
        if (Params[i].split("=")[0] == sParamName){ // если это искомая переменная — бинго!
            if (Params[i].split("=").length > 1) variable = Params[i].split("=")[1]; // если значение параметра задано, то возвращаем его
            return variable;
        }
    }
    return "";
}
	function popup_open(page,name,width,height)
{
	    myWindow=window.open(page, name,"width="+width+",height="+height);
		myWindow.focus();
}