// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Ilusalong Lõvilakk 				  javaSRIPT libary
// 						by kriko [kri.ko@hot.ee]
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//_______________________________________________________
// STATUS BAR
function t(t)	{ window.status = "Ilusalong Lõvilakk - " + t;	return true;} // Status: text
function tpic()	{ window.status = "Klõpsa pildil, et näha suuremalt"; return true;} // Status: text
function tb()	{ window.status = "Ilusalong Lõvilakk";	return true;	} // Status: "Ilusalong Lõvilakk - " + text
function load() { window.status = "Ilusalong Lõvilakk";	return true;	} // Unload functions
//_______________________________________________________
// LINKING
function showpic(u,w,h)	{ window.open('/?pg=showimg&img='+u,'LLpilt','width='+w+',height='+h+',scrollbars=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no'); }
function LLpopup(u,n,f) { window.open(u,n,f); }
function LLfurl(u)		{ window.location = u;			 } // Full URL
function mailMe(u,h)	{ window.location = "mailto:"+u+"@"+h; } // E-mail
function LLmlink(u)		{ window.location = "/"+u;		 } // Main directory link

//_______________________________________________________
// FUNCTIONS

function LL_ReadIT(i)  { window.open('/cgi-bin/lladmin/read.cgi?it='+i);  }

// FunctionIT
function LL_PrintIT(i) { window.open('/cgi-bin/lladmin/print.cgi?it='+i); }
function LL_MailIT(i)  { window.open('/cgi-bin/lladmin/mail.cgi?it='+i);  }
function LL_SaveIT(i)  { window.open('/cgi-bin/lladmin/save.cgi?it='+i);  }

// FunctionAT
function LL_PrintAT(i) { window.open('/cgi-bin/lladmin/print.cgi?at='+i); }
function LL_MailAT(i)  { window.open('/cgi-bin/lladmin/mail.cgi?at='+i);  }
function LL_SaveAT(i)  { window.open('/cgi-bin/lladmin/save.cgi?at='+i);  }
//_______________________________________________________
// Pagelinks
function LL_ilusalong() { 	window.location = "/"; 				} // : /
function LL_ajalugu() { 	window.location = "/"; 				} // : /
function LL_uudised() { 	window.location = "/uudised.shtml"; 	} // : uudised
function LL_tooted() { 		window.location = "/tooted.shtml"; 		} // : tooted
function LL_teenused() { 	window.location = "/teenused.shtml"; 	} // : teenused
function LL_otsing() { 		window.location = "/otsing.shtml"; 		} // : otsing
function LL_galerii() { 	window.location = "/galerii.shtml"; 	} // : galerii
function LL_kontakt() { 	window.location = "/kontakt.shtml"; 	} // : kontakt
function LL_uudistearhiiv() { window.location = "/u-arhiiv.shtml"; 	} // : u-arhiiv	// alert("Momendil puudub.");
function LL_broneeri() {   // window.location = "/broneeri.shtml";	  // : broneeri
alert("  Vabandame,  \n\n  momendil toimub broneering telefoni teel. \n\n  Vabandame !"); }
//_______________________________________________________
