
var ver = navigator.appVersion.toLowerCase();

if (ver.indexOf("mac") != -1) {

// platform is Macintosh
	document.write('<link rel="stylesheet" href="style/K.Mac.css">');
} else {

// platform is something else, probably Windows
	document.write('<link rel="stylesheet" href="style/K.Win.css">');
}

					profile_on = new Image(40,37)
                    profile_on.src = "images/profileHOME_f2.gif"
                    profile_off = new Image(40,37)
                    profile_off.src = "images/profileHOME.gif"
										
					clients_on = new Image(27,37)
                    clients_on.src = "images/clientsHOME_f2.gif"
                    clients_off = new Image(27,37)
                    clients_off.src = "images/clientsHOME.gif"
					
					folio_on = new Image(26,34)
                    folio_on.src = "images/folioHOME_f2.gif"
                    folio_off = new Image(26,34)
                    folio_off.src = "images/folioHOME.gif"
					
					news_on = new Image(28,44)
                    news_on.src = "images/newsHOME_f2.gif"
                    news_off = new Image(28,44)
                    news_off.src = "images/newsHOME.gif"
					
					knowhow_on = new Image(26,30)
                    knowhow_on.src = "images/knowhowHOME_f2.gif"
                    knowhow_off = new Image(26,30)
                    knowhow_off.src = "images/knowhowHOME.gif"
										
					contact_on = new Image(40,36)
                    contact_on.src = "images/contactHOME_f2.gif"
                    contact_off = new Image(40,36)
                    contact_off.src = "images/contactHOME.gif"
					
					fun_on = new Image(27,58)
                    fun_on.src = "images/funHOME_f2.gif"
                    fun_off = new Image(27,58)
                    fun_off.src = "images/funHOME.gif"
					
					store_on = new Image(26,36)
                    store_on.src = "images/storeHOME_f2.gif"
                    store_off = new Image(26,36)
                    store_off.src = "images/storeHOME.gif"

					titleHOME = new Image(133,61)
					titleHOME.src = "images/titleHOME.gif"

					titleHOME1 = new Image(133,61)
					titleHOME1.src = "images/titlePROFILE.gif"
					
					titleHOME2 = new Image(133,61)
					titleHOME2.src = "images/titleCLIENTS.gif"
					
					titleHOME3 = new Image(133,61)
					titleHOME3.src = "images/titleFOLIO.gif"
					
					titleHOME4 = new Image(133,61)
					titleHOME4.src = "images/titleNEWS.gif"
					
					titleHOME5 = new Image(133,61)
					titleHOME5.src = "images/titleKNOWHOW.gif"
					
					titleHOME6 = new Image(133,61)
					titleHOME6.src = "images/titleCONTACT.gif"
					
					titleHOME7 = new Image(133,61)
					titleHOME7.src = "images/titleFUN.gif"
										
					titleHOME8 = new Image(133,61)
					titleHOME8.src = "images/titleSTORE.gif"
					
				function chgimage(imgst,imgName){
				document [imgName].src = eval(imgName + "_" + imgst + ".src");
			}

				function chgimage2(imgst,imgName,imgst2,imgName2){
				document [imgName].src = eval(imgName + "_" + imgst + ".src");
				document [imgName2].src = eval(imgName2 + imgst2 + ".src");
			}
			
var Floater;  
function stopError()
{
 return true; 
}  
 
function iipopwin(fileName, wide, tall, n) 
{ 
var needBars=n;
features = 'toolbar=' + needBars + ',location=' + needBars + ',directories=' + needBars + ',status=' + needBars +', menubar=' + needBars + ',scrollbars=' + needBars +', resizable=' + needBars + ',toobar=' + needBars + ',width='+wide+',height='+tall+ ',left=0,top=0'; 
 if ((navigator.appName=="Microsoft Internet Explorer") && (navigator.appVersion.substring(0,3)=="4.0")) {
    if ((Floater) && (Floater.closed == false)) {
       Floater.close();
    }
 }     
 Floater = window.open(fileName, 'ITCompass', features);
      Floater.self.focus(); 
}  
 
window.onerror = stopError;
