function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",1)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=45
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=8
else if (window.highlighting)
clearInterval(highlighting)
}




var cando = false;
var browserName = navigator.appName;
var browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) cando = true;
else if( browserVer >=4 ) cando=true;
if( cando ) {
        imag = new Array();
        imag[0] = "img/home.gif";
        imag[1] = "img/home_2.gif";
        imag[2] = "img/contact_us_2.gif";
        imag[3] = "img/contact_us.gif";
        imag[4] = "img/site_map_2.gif";
        imag[5] = "img/site_map.gif";


        imag[16] = "img/st.gif";
        imag[17] = "img/0.gif";
		
        imag[18] = "img/p.gif";
        imag[19] = "img/0.gif";


        im = new Array()
        for (var i = 0; i < imag.length; i++){
                if( imag[i] != "" ) {
                        im[i] = new Image();
                        im[i].src = imag[i];
                }
        }
}

function swtch(num,imgname){
        if( cando )
        document[imgname].src = im[num].src;
}


function serch()
{

with(document.mais)
{
 if(nsearch.value=='search...') 
 {
  alert('You have not filled the required "Incorrect search" field!');
  nsearch.focus();
  return false;
 }
 
 } 
 return true;

}

function bookmark() {
	var bookmarkurl = "http://www.helloasap.com/";
	var bookmarktitle = "Asap - Flower to Russia";

	if ( document.all )
		window.external.AddFavorite( location.href, document.title );
}
