|
> > > > > > > > > > > > > > Welcome to Trachten Garments
function removeStr(str , id)
{
if(document.getElementById(id).value == str)
{
document.getElementById(id).value = '';
}
}
function setDefault(id , str)
{
if(document.getElementById(id).value == '')
{
document.getElementById(id).value = str;
}
}
function rem_scroll(){
document.body.style.overflowY = "hidden";
}
jQuery(document).ready(function(){
var lang = getCookie('language');
if(lang != null)
{
if(lang != 'english')
{
//alert(lang);
setLang(lang);
//jQuery('#main h1').translate('french');
}
}
jQuery('.lang-select').click(function(e) {
lang = jQuery(this).attr('rel');
//alert(lang);
setLang(lang);
e.preventDefault();
});
})
function setLang(lang)
{
setCookie('language', lang, 30);
jQuery('body').translate(lang, {
start: function() { jQuery('#country').addClass('load'); },
complete: function() { jQuery('#country').removeClass('load'); },
error: function() { jQuery('#country').removeClass('load'); }
});
}
function getCookie(c_name)
{
if (document.cookie.length> 0)
{
c_start=document.cookie.indexOf(c_name + "=");
if (c_start!=-1)
{
c_start=c_start + c_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
}
}
return "";
}
function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
.cur
{
cursor:hand;
}
/***********************************************
* Slashdot Menu script- By DimX
* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//
jQuery(document).ready(function(){
jQuery("img.jqzoom").jqueryzoom({
xzoom: 200, //zooming div default width(default width value is 200)
yzoom: 200, //zooming div default width(default height value is 200)
offset: 10 //zooming div default offset(default offset value is 10)
//position: "right" //zooming div position(default position value is "right")
});
});
function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num
Manufacturers and Exporters of Dirndl und Trachten, mit 12 Filialen in Bayern, größte Auswahl und beste Preise
Trachtengarments.com ~
Site Info
Whois
Trace Route
RBL Check
|
|
|
|