/**
 * Library of javascript functions
 * 
 * @version 1.12
 */
var timerHide=new Array();function show(el){var sp='';var ty='';if(show.arguments.length==3){sp=show.arguments[1];ty=show.arguments[2];}else if(show.arguments.length==2){sp=show.arguments[1];}
if(ty=='slide')
$(el+":hidden").slideDown(sp);else if(ty=='fade')
$(el+":hidden").fadeIn(sp);else
$(el+":hidden").show(sp);}
function hide(el){var sp='';var ty='';if(hide.arguments.length==3){sp=hide.arguments[1];ty=hide.arguments[2];}else if(hide.arguments.length==2){sp=hide.arguments[1];}
if(ty=='slide')
$(el+":visible").slideUp(sp);else if(ty=='fade')
$(el+":visible").fadeOut(sp);else
$(el+":visible").hide(sp);}
function toggle(el){sp=ty=null;if(toggle.arguments.length==3){sp=toggle.arguments[1];ty=toggle.arguments[2];}else if(toggle.arguments.length==2){sp=toggle.arguments[1];}
if($(el+":visible").size()>0){hide(el,sp,ty);}else{show(el,sp,ty);}}
function hideAll(exp,except){sp=ty=null;if(hideAll.arguments.length==4){sp=hideAll.arguments[2];ty=hideAll.arguments[3];}else if(hideAll.arguments.length==3){sp=hideAll.arguments[2];}
if(ty=='slide')
$(exp+":visible").filter(function(index){return this.id!=except;}).slideUp(sp);else if(ty=='fade')
$(exp+":visible").fadeOut(sp);else
$(exp+":visible").hide(sp);}
function hideAfter(id,sec){timerHide[id]=setTimeout("hideAfterReal('"+id+"')",sec*1000);}
function cancelHideAfter(id){if(timerHide[id]!=null){clearTimeout(timerHide[id]);timerHide[id]=null;}}
function hideAfterReal(id){hide(id);}
function gotoUrl(u){document.location=u;}
function openWindow(oLink,name,width,height,params){var href='';if(oLink.getAttribute)href=oLink.getAttribute('href');if(href=='')href=oLink.href;if(!href||href=='')href=oLink;var all_params='';all_params+='width='+width+',height='+height;if(params&&params!='')all_params+=','+params;var oPopup=window.open(href,(name&&name!=''?name:'popup'),all_params);if(oPopup)oPopup.focus();return(oPopup?false:true);}
function trim(str){return str.replace(/^\s+|\s+$/,'');};function isEmpty(str){return(str==null)||(str.length==0);}
function isEmail(str){if(isEmpty(str))return false;var re=/^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$/i
return re.test(str);}
function nl2br(s){return s.replace(/\n|\r|\r\n/g,'<br />');}
function limitChars(f,n){if(f.value.length>n){f.value=f.value.substr(0,n);}}
function updateDivWithFieldContent(f,id){$("#"+id).html(nl2br(f.value));}
function confirmSubmit(theformname,theaction,thefield,theid,theconfirmation){if(confirm(theconfirmation)){if(document.forms[theformname]){document.forms[theformname].elements[thefield].value=theid;document.forms[theformname].elements['act'].value=theaction;document.forms[theformname].submit();}}}
function doubleConfirmSubmit(theformname,theaction,thefield,theid,theconfirmation){if(confirm("Warning!\n\nPlease read the following screen carefuly.\n\nYou will not be able to undo your action\nafter your confirmation in the next screen.\n\nIf your are not sure, please cancel now!\n")){confirmSubmit(theformname,theaction,thefield,theid,theconfirmation);}}
function waitSubmit(form,btn,div){if(form&&form.elements[btn]){form.elements[btn].disabled=true;}
if(div!=""){show(div);}
return true;}
function submitForm(theformname,theaction){if(document.forms[theformname]){document.forms[theformname].elements['act'].value=theaction;document.forms[theformname].submit();return true;}
return false;}
function submitFormField(theformname,theaction,thefield,thevalue){if(document.forms[theformname]){document.forms[theformname].elements[thefield].value=thevalue;document.forms[theformname].act.value=theaction;document.forms[theformname].submit();}}
function basename(path){var slash=(path.indexOf('/')>-1)?'/':'\\';var filename=path.substring(path.lastIndexOf(slash)+1,path.length);return filename.substring(0,filename.lastIndexOf('.'));}
function copyFilename(theform,thefile,thefield){if(theform[thefield].value=="")
theform[thefield].value=basename(theform[thefile].value);}
function clientwindow(){var clientheight=$(window).height();var newh=clientheight-640;var newh2=clientheight-670;if(newh<245)newh=245;$('.col').css("height",newh+"px");if(newh2<245)newh2=245;$('#extended iframe').css("height",newh2+"px");};$(window).resize(function(){clientwindow();});var nav_current_cat_id='';var nav_current_subcat_id='';function showNavCat(){if(nav_current_cat_id!=''){$("#navprodsubEl"+nav_current_cat_id).removeClass("activenav");$("#navprodsubsub"+nav_current_cat_id+":visible").hide();}
$("#navprodsub").slideDown(700);}
function showNavSubcat(cat_id){if(nav_current_subcat_id!=''){$("#navprodsubsubEl"+nav_current_subcat_id).removeClass("activenav");$("#navprodlist"+nav_current_subcat_id+":visible").hide();}
if(nav_current_cat_id!=''){$("#navprodsubEl"+nav_current_cat_id).removeClass("activenav");$("#navprodsubsub"+nav_current_cat_id+":visible").hide();}
$("#navprodsubEl"+cat_id).addClass("activenav");$("#navprodsubsub"+cat_id+":hidden").show();nav_current_cat_id=cat_id;}
function showNavProducts(subcat_id){if(nav_current_subcat_id!=''){$("#navprodsubsubEl"+nav_current_subcat_id).removeClass("activenav");$("#navprodlist"+nav_current_subcat_id+":visible").hide();}
$("#navprodsubsubEl"+subcat_id).addClass("activenav");$("#navprodlist"+subcat_id+":hidden").show();nav_current_subcat_id=subcat_id;}
function hideNavAll(){$("#navprodsub ul:visible").hide();$("#navprodsub:visible").hide();}
function showProductPicture(oLink){var href='';if(oLink.getAttribute)href=oLink.getAttribute('href');if(href=='')href=oLink.href;if(!href||href=='')href=oLink;$("#product_photo").attr('src',href);return false;}
function checkProductSearch(f){if(f){if(f.elements['pqs'].value==f.elements['pqs'].title){f.elements['pqs'].value='';}
if(f.elements['pqs'].value.length<3){f.elements['pqs'].focus();return false;}else{return true;}}
return false;}
function initProductSearch(formname){var f=document.forms[formname];if(f){if(f.elements['pqs'].value=='')f.elements['pqs'].value=f.elements['pqs'].title}
return false;}
function toggleWithinAll(el){if(el&&el.form){var f=el.form;for(var i=0;i<f.elements.length;i++){if(f.elements[i].name=='within[]')
f.elements[i].checked=el.checked;}}}
function checkWithinAll(el){if(el&&el.form){var f=el.form;var isall=true;for(var i=0;i<f.elements.length;i++){if(f.elements[i].name=='within[]')
isall=isall&&f.elements[i].checked;}
f.elements['withinall'].checked=isall;}}
function getScrollXY(){var pos=[];pos[0]=self.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft;pos[1]=self.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;return pos;}
function setScrollXY(px,py){window.scrollTo(px,py);}
function ajaxAvailable(){var xmlhttp=false;if(!xmlhttp&&typeof XMLHttpRequest!='undefined'){try{xmlhttp=new XMLHttpRequest();}catch(e){xmlhttp=false;}}
if(!xmlhttp&&window.createRequest){try{xmlhttp=window.createRequest();}catch(e){xmlhttp=false;}}
return!xmlhttp?false:true;}
var ajax_available=ajaxAvailable();function loadLook(url_root,look_id,photo_id){if(!ajax_available)return false;$("ul.lookthumbs").find("li").removeClass("activelook");$("#lookthumbL"+look_id+"P"+photo_id).addClass("activelook");$("#lookloading:hidden").show();$.get(url_root+"xml_look.php?look_id="+look_id+"&photo_id="+photo_id,function(xml){if($("status",xml).text()=="ok"){$("#looksendlookid").attr("value",look_id);$("#looksendphotoid").attr("value",photo_id);$("#looksendlookname").attr("value",$("title",xml).text());$("#lookmaintitle").html($("title",xml).text());$("#lookmaindescription").html($("description",xml).text());$("#lookmainlegend").html($("photoLegend",xml).text());var str_prod=$("productsUsed",xml).text();if(str_prod!=undefined&&str_prod!=''){$("#relatedproducts").find("dd").remove();$("#relatedproducts").find("dt").after(str_prod);$("#relatedproducts:hidden").show();}else{$("#relatedproducts:visible").hide();}
var pic_url=$("photoUrl",xml).text();if(pic_url!=undefined&&pic_url!=''){var imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;$("#look").css('backgroundImage','url('+imgPreloader.src+')');$("#lookloading:visible").hide();}
imgPreloader.src=pic_url;}}else{$("#lookloading:visible").hide();}});return true;}
function showLookNavOn(){$("#looknavoff:visible").animate({width:"hide"},"normal",_showLookNavOn);}
function showLookNavOff(){$("#looknav:visible").animate({width:"hide"},"normal",_showLookNavOff);}
function _showLookNavOn(){$("#looknav:hidden").animate({width:"show"},"normal");}
function _showLookNavOff(){$("#looknavoff:hidden").animate({width:"show"},"normal");}
function initSendLook(formname){var f=document.forms[formname];if(f){var defs="yourname,youremail,friendname,friendemail".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkSendLook(f){if(f){var defs="yourname,youremail,friendname,friendemail".split(',');var mand="yourname,youremail,friendname,friendemail".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function initStoreContact(formname){var f=document.forms[formname];if(f){var defs="name,email,subject,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkStoreContact(f){if(f){var defs="name,email,subject,message".split(',');var mand="name,email,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function displayStoreCourses(rootpath,storeid){if(parent.frames){parent.frames['privatecourses'].document.location=rootpath+'iframe_privatecourses.php?store_id='+storeid;parent.frames['groupcourses'].document.location=rootpath+'iframe_groupcourses.php?store_id='+storeid;}}
function initCourseReservation(formname){var f=document.forms[formname];if(f){var defs="firstname,lastname,email,phone".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkCourseReservation(f){if(f){var defs="firstname,lastname,email,phone".split(',');var mand="firstname,lastname,email,phone,agree".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].type=='checkbox'){if(f.elements[mand[i]].checked==false){f.elements[mand[i]].focus();return false;}}else{if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}}
waitSubmit(f,"send","");return true;}
return false;}
function initContact(formname){var f=document.forms[formname];if(f){var defs="name,email,subject,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkContact(f){if(f){var defs="name,email,subject,message".split(',');var mand="name,email,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function initFranchisingContact(formname){var f=document.forms[formname];if(f){var defs="firstname,lastname,email,telephone,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkFranchisingContact(f){if(f){var defs="firstname,lastname,email,telephone,message".split(',');var mand="firstname,lastname,email,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function showHomeLang(id){cancelHideAfter(id);show(id);}
function hideHomeLang(id){hideAfter(id,1);}
function cancelHomeLang(id){cancelHideAfter(id);}
function initClubLogin(formname){var f=document.forms[formname];if(f){var defs="cardnum".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkClubLogin(f){if(f){var defs="cardnum".split(',');var mand="cardnum".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function checkContest(f){if(f){if(f.elements['answer_num'].length!=undefined){var one_sel=false;for(var i=0;i<f.elements['answer_num'].length;i++){if(f.elements['answer_num'][i].checked==true){one_sel=true;}}
if(one_sel==false)
return false;}else{if(f.elements['answer_num'].type=='radio'){if(f.elements['answer_num'].checked==false){f.elements['answer_num'].focus();return false;}}}
if(f.elements['agree'].type=='checkbox'){if(f.elements['agree'].checked==false){f.elements['agree'].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function initClubAsk(formname){var f=document.forms[formname];if(f){var defs="name,email,subject,questions".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkClubAsk(f){if(f){var defs="name,email,subject,questions".split(',');var mand="name,email,questions".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function initPressLogin(formname){var f=document.forms[formname];if(f){var defs="email,password".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkPressLogin(f){if(f){var defs="email,password".split(',');var mand="email,password".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function checkPressAsk(f){if(f){var defs="firstname,lastname,email".split(',');var mand="firstname,lastname,email".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}
waitSubmit(f,"send","");return true;}
return false;}
function showGalleryPhoto(url_root,gallery_id,photo_id){if(!ajax_available)return false;$("#imgloading:hidden").show();$("#gallerymainimgbuffer").attr('src',$("#gallerymainimg").attr('src'))
$("#gallerymainimgbuffer").show();$("#gallerymainimg").hide();$("#gallerymainimgbuffer:visible").fadeOut();$.get(url_root+"xml_photo.php?gallery_id="+gallery_id+"&photo_id="+photo_id,function(xml){if($("status",xml).text()=="ok"){$("#mainimgcaption").html($("photoLegend",xml).text()+' ');var prev_id=$("photoPreviousId",xml).text();if(prev_id!=undefined&&prev_id!=''){$("#polanavprev").attr('onclick',"return !showGalleryPhoto('"+url_root+"', '"+gallery_id+"', '"+prev_id+"');");$("#polanavprev").attr('href',url_root+'showcase.php?id='+gallery_id+'&pid='+prev_id);}else{$("#polanavprev").attr('onclick','');$("#polanavprev").attr('href',url_root+'showcase.php?id='+gallery_id);}
var next_id=$("photoNextId",xml).text();if(next_id!=undefined&&next_id!=''){$("#polanavnext").attr('onclick',"return !showGalleryPhoto('"+url_root+"', '"+gallery_id+"', '"+next_id+"');");$("#polanavnext").attr('href',url_root+'showcase.php?id='+gallery_id+'&pid='+next_id);}else{$("#polanavnext").attr('onclick','');$("#polanavnext").attr('href',url_root+'showcase.php?id='+gallery_id);}
var pic_url=$("photoUrl",xml).text();if(pic_url!=undefined&&pic_url!=''){var imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;$("#imgloading:visible").hide();$("#gallerymainimg").attr('src',imgPreloader.src);$("#gallerymainimg:hidden").fadeIn();}
imgPreloader.src=pic_url;}}else{$("#imgloading:visible").hide();}});return true;}
function initModelForm(formname){var f=document.forms[formname];if(f){var defs="firstname,lastname,email,jobs,comments".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkModelForm(f){if(f){var defs="firstname,lastname,email,jobs,comments".split(',');var mand="firstname,lastname,email,facial_picture,half_body_picture,whole_body_picture,height,eye,age,chest,waist,hip,jobs".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]].type=='select-one'){if(f.elements[mand[i]].selectedIndex<=0){f.elements[mand[i]].focus();return false;}}else{if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();return false;}}}
waitSubmit(f,"send","#waitupload");return true;}
return false;}
function initJob(formname){var f=document.forms[formname];if(f){var defs="firstname,lastname,email,phone,message".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value=='')
f.elements[defs[i]].value=f.elements[defs[i]].title;}}}
function checkJob(f){if(f){var defs="firstname,lastname,email,phone,message".split(',');var mand="firstname,lastname,sex,birthdate_d,birthdate_m,birthdate_y,email,phone,job_country".split(',');for(var i=0;i<defs.length;i++){if(f.elements[defs[i]].value==f.elements[defs[i]].title)
f.elements[defs[i]].value='';f.elements[defs[i]].value=trim(f.elements[defs[i]].value);}
for(var i=0;i<mand.length;i++){if(f.elements[mand[i]]&&f.elements[mand[i]].type==undefined&&f.elements[mand[i]][0]&&f.elements[mand[i]][0].type=='radio'){var chk=false;for(var j=0;!chk&&j<f.elements[mand[i]].length;j++){chk=f.elements[mand[i]][j].checked;}
if(!chk){f.elements[mand[i]][0].focus();show('#joberrormissing');return false;}}else if(f.elements[mand[i]].type=='select-one'){if(f.elements[mand[i]].selectedIndex<=0){f.elements[mand[i]].focus();show('#joberrormissing');return false;}}else{if(f.elements[mand[i]].value.length<2){f.elements[mand[i]].focus();show('#joberrormissing');return false;}}}
waitSubmit(f,"send","#waitsend");return true;}
return false;}
function bookGotoPage(num){if(parent)
var domSwf=parent.document.getElementById("mMag");else
var domSwf=document.getElementById("mMag");if(domSwf)
domSwf.swfGotoPage(num);alert(domSwf);}

/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;


/*=:project
  scalable Inman Flash Replacement (sIFR) version 3, revision 407

  =:file
    Copyright: 2006 Mark Wubben.
    Author: Mark Wubben, <http://novemberborn.net/>

  =:history
    * IFR: Shaun Inman
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

  =:license
    This software is licensed and provided under the CC-GNU LGPL.
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
*/

var sIFR=new function(){var O=this;var E={ACTIVE:"sIFR-active",UNLOADING:"sIFR-unloading",REPLACED:"sIFR-replaced",IGNORE:"sIFR-ignore",ALTERNATE:"sIFR-alternate",CLASS:"sIFR-class",LAYOUT:"sIFR-layout",FLASH:"sIFR-flash",FIX_FOCUS:"sIFR-fixfocus",DUMMY:"sIFR-dummy"};E.IGNORE_CLASSES=[E.REPLACED,E.IGNORE,E.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="407";this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var L=0;var R=false;function Z(){}function D(c){function d(e){return e.toLocaleUpperCase()}this.normalize=function(e){return e.replace(/\n|\r|\xA0/g,D.SINGLE_WHITESPACE).replace(/\s+/g,D.SINGLE_WHITESPACE)};this.textTransform=function(e,f){switch(e){case"uppercase":return f.toLocaleUpperCase();case"lowercase":return f.toLocaleLowerCase();case"capitalize":return f.replace(/^\w|\s\w/g,d)}return f};this.toHexString=function(e){if(e.charAt(0)!="#"||e.length!=4&&e.length!=7){return e}e=e.substring(1);return"0x"+(e.length==3?e.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):e)};this.toJson=function(g,f){var e="";switch(typeof (g)){case"string":e='"'+f(g)+'"';break;case"number":case"boolean":e=g.toString();break;case"object":e=[];for(var h in g){if(g[h]==Object.prototype[h]){continue}e.push('"'+h+'":'+this.toJson(g[h]))}e="{"+e.join(",")+"}";break}return e};this.convertCssArg=function(e){if(!e){return{}}if(typeof (e)=="object"){if(e.constructor==Array){e=e.join("")}else{return e}}var l={};var m=e.split("}");for(var h=0;h<m.length;h++){var k=m[h].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!k||k.length!=3){continue}if(!l[k[1]]){l[k[1]]={}}var g=k[2].split(";");for(var f=0;f<g.length;f++){var n=g[f].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!n||n.length!=3){continue}l[k[1]][n[1]]=n[2].replace(/\s+$/,"")}}return l};this.extractFromCss=function(g,f,i,e){var h=null;if(g&&g[f]&&g[f][i]){h=g[f][i];if(e){delete g[f][i]}}return h};this.cssToString=function(f){var g=[];for(var e in f){var j=f[e];if(j==Object.prototype[e]){continue}g.push(e,"{");for(var i in j){if(j[i]==Object.prototype[i]){continue}var h=j[i];if(D.UNIT_REMOVAL_PROPERTIES[i]){h=parseInt(h,10)}g.push(i,":",h,";")}g.push("}")}return g.join("")};this.escape=function(e){return escape(e).replace(/\+/g,"%2B")};this.encodeVars=function(e){return e.join("&").replace(/%/g,"%25")};this.copyProperties=function(g,f){for(var e in g){if(f[e]===undefined){f[e]=g[e]}}return f};this.domain=function(){var f="";try{f=document.domain}catch(g){}return f};this.domainMatches=function(h,g){if(g=="*"||g==h){return true}var f=g.lastIndexOf("*");if(f>-1){g=g.substr(f+1);var e=h.lastIndexOf(g);if(e>-1&&(e+g.length)==h.length){return true}}return false};this.uriEncode=function(e){return encodeURI(decodeURIComponent(e))};this.delay=function(f,h,g){var e=Array.prototype.slice.call(arguments,3);setTimeout(function(){h.apply(g,e)},f)}}D.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};D.SINGLE_WHITESPACE=" ";function U(e){var d=this;function c(g,j,h){var k=d.getStyleAsInt(g,j,e.ua.ie);if(k==0){k=g[h];for(var f=3;f<arguments.length;f++){k-=d.getStyleAsInt(g,arguments[f],true)}}return k}this.getBody=function(){return document.getElementsByTagName("body")[0]||null};this.querySelectorAll=function(f){return window.parseSelector(f)};this.addClass=function(f,g){if(g){g.className=((g.className||"")==""?"":g.className+" ")+f}};this.removeClass=function(f,g){if(g){g.className=g.className.replace(new RegExp("(^|\\s)"+f+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(f,g){return new RegExp("(^|\\s)"+f+"(\\s|$)").test(g.className)};this.hasOneOfClassses=function(h,g){for(var f=0;f<h.length;f++){if(this.hasClass(h[f],g)){return true}}return false};this.ancestorHasClass=function(g,f){g=g.parentNode;while(g&&g.nodeType==1){if(this.hasClass(f,g)){return true}g=g.parentNode}return false};this.create=function(f,g){var h=document.createElementNS?document.createElementNS(U.XHTML_NS,f):document.createElement(f);if(g){h.className=g}return h};this.getComputedStyle=function(h,i){var f;if(document.defaultView&&document.defaultView.getComputedStyle){var g=document.defaultView.getComputedStyle(h,null);f=g?g[i]:null}else{if(h.currentStyle){f=h.currentStyle[i]}}return f||""};this.getStyleAsInt=function(g,i,f){var h=this.getComputedStyle(g,i);if(f&&!/px$/.test(h)){return 0}return parseInt(h)||0};this.getWidthFromStyle=function(f){return c(f,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")};this.getHeightFromStyle=function(f){return c(f,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")};this.getDimensions=function(j){var h=j.offsetWidth;var f=j.offsetHeight;if(h==0||f==0){for(var g=0;g<j.childNodes.length;g++){var k=j.childNodes[g];if(k.nodeType!=1){continue}h=Math.max(h,k.offsetWidth);f=Math.max(f,k.offsetHeight)}}return{width:h,height:f}};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}};this.blurElement=function(g){try{g.blur();return }catch(h){}var f=this.create("input");f.style.width="0px";f.style.height="0px";g.parentNode.appendChild(f);f.focus();f.blur();f.parentNode.removeChild(f)}}U.XHTML_NS="http://www.w3.org/1999/xhtml";function H(m){var d=navigator.userAgent.toLowerCase();var l=(navigator.product||"").toLowerCase();var f=navigator.platform.toLowerCase();this.parseVersion=function(e){return e.replace(/(^|\D)(\d)(?=\D|$)/g,"$10000$2")};this.macintosh=/^mac/.test(f);this.windows=/^win/.test(f);this.quicktime=false;this.opera=/opera/.test(d);this.konqueror=/konqueror/.test(l);this.ie=false/*@cc_on||true@*/;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(d)/*@cc_on&&@_jscript_version>=5.5@*/;this.ieWin=this.ie&&this.windows/*@cc_on&&@_jscript_version>=5.1@*/;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh/*@cc_on&&@_jscript_version<5.1@*/;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(d);this.webkit=!this.konqueror&&/applewebkit/.test(d);this.khtml=this.webkit||this.konqueror;this.gecko=!this.webkit&&l=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(d)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(d)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(d)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(d)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(d)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var h;var k=false;try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(j){try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=6;h.AllowScriptAccess="always"}catch(j){k=this.flashVersion==6}if(!k){try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(j){}}}if(!k&&h){this.flashVersion=parseFloat(/([\d,?]+)/.exec(h.GetVariable("$version"))[1].replace(/,/g,"."))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){this.flashVersion=parseFloat(/(\d+\.?\d*)/.exec(navigator.plugins["Shockwave Flash"].description)[1]);var g=0;while(this.flashVersion>=H.MIN_FLASH_VERSION&&g<navigator.mimeTypes.length){var c=navigator.mimeTypes[g];if(c.type=="application/x-shockwave-flash"&&c.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){this.flashVersion=0;this.quicktime=true}g++}}}this.flash=this.flashVersion>=H.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows;this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.requiresPrefetch=this.ieWin||this.khtml;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523");this.properDocument=typeof (document.location)=="object";this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.50"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&(!this.konqueror)}H.MIN_FLASH_VERSION=8;function F(c){this.fix=c.ua.ieWin&&window.location.hash!="";var d;this.cache=function(){d=document.title};function e(){document.title=d}this.restore=function(){if(this.fix){setTimeout(e,0)}}}function S(f){var j=null;function g(){try{if(f.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left")}}catch(k){return setTimeout(g,10)}c()}function c(){if(f.useStyleCheck){e()}else{if(!f.ua.mustCheckStyle){h(null,true)}}}function e(){j=f.dom.create("div",E.DUMMY);f.dom.getBody().appendChild(j);d()}function d(){if(f.dom.getComputedStyle(j,"marginLeft")=="42px"){i()}else{setTimeout(d,10)}}function i(){if(j&&j.parentNode){j.parentNode.removeChild(j)}j=null;h(null,true)}function h(k,l){f.initialize(l);if(k&&k.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",h,false)}if(window.removeEventListener){window.removeEventListener("load",h,false)}}}this.attach=function(){if(window.addEventListener){window.addEventListener("load",h,false)}else{window.attachEvent("onload",h)}if(!f.useDomLoaded||f.ua.forcePageLoad||f.ua.ie&&window.top!=window){return }if(f.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",c,false)}else{if(f.ua.ie||f.ua.khtml){g()}}}}var Q="sifrFetch";function N(c){var e=false;this.fetchMovies=function(f){if(c.setPrefetchCookie&&new RegExp(";?"+Q+"=true;?").test(document.cookie)){return }try{e=true;d(f)}catch(g){if(c.debug){throw g}}if(c.setPrefetchCookie){document.cookie=Q+"=true;path="+c.cookiePath}};this.clear=function(){if(!e){return }try{var f=document.getElementsByTagName("script");for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.type=="sifr/prefetch"){h.parentNode.removeChild(h)}}}catch(j){}};function d(f){for(var g=0;g<f.length;g++){document.write('<script defer type="sifr/prefetch" src="'+f[g].src+'"><\/script>')}}}function Y(d){var c={};function e(g,f,h){return g+","+f+","+h}this.reset=function(h,p,g){var n=c[e(h,p,g)];for(var m=0;!n&&m<d.replacements.length;m++){var k=d.replacements[m];var l=k.getFlashElement();var o=l.getAttribute("width");var f=l.getAttribute("height");if(o==h&&f==p){var j=k.call("getAmnesiacId");if(j==g){n=k}else{c[e(o,f,j)]=k}}}if(n){n.resetMovie();return true}return false}}function K(d,g,f,c,e){this.sIFR=d;this.id=g;this.vars=f;this.movie=null;this.__forceWidth=c;this.__events=e;this.__resizing=0}K.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+"_alternate")},getAncestor:function(){var c=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(E.FIX_FOCUS,c)?c:c.parentNode},available:function(){var c=this.getFlashElement();return c&&c.parentNode},call:function(c){var d=this.getFlashElement();return Function.prototype.apply.call(d[c],d,Array.prototype.slice.call(arguments,1))},attempt:function(){if(!this.available()){return false}try{this.call.apply(this,arguments)}catch(c){if(this.sIFR.debug){throw c}return false}return true},updateVars:function(c,e){for(var d=0;d<this.vars.length;d++){if(this.vars[d].split("=")[0]==c){this.vars[d]=c+"="+e;break}}var f=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),f);this.movie.injectVars(this.movie.html,f)},storeSize:function(c,d){this.movie.setSize(c,d);this.updateVars(c,d)},fireEvent:function(c){if(this.available()&&this.__events[c]){this.sIFR.util.delay(0,this.__events[c],this,this)}},resizeFlashElement:function(c,d,e){if(!this.available()){return }this.__resizing++;var f=this.getFlashElement();f.setAttribute("height",c);this.updateVars("renderheight",c);this.storeSize("height",c);if(d!==null){f.setAttribute("width",d);this.movie.setSize("width",d)}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement}if(e){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--},this)}else{this.__resizing--}},blurFlashElement:function(){if(this.available()){this.sIFR.dom.blurElement(this.getFlashElement())}},resetMovie:function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale:function(){if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this)}},resize:function(){if(!this.available()){return }this.__resizing++;var g=this.getFlashElement();var f=g.offsetWidth;if(f==0){return }var e=g.getAttribute("width");var l=g.getAttribute("height");var m=this.getAncestor();var o=this.sIFR.dom.getHeightFromStyle(m);g.style.width="1px";g.style.height="1px";m.style.minHeight=o+"px";var c=this.getAlternate().childNodes;var n=[];for(var k=0;k<c.length;k++){var h=c[k].cloneNode(true);n.push(h);m.appendChild(h)}var d=this.sIFR.dom.getWidthFromStyle(m);for(var k=0;k<n.length;k++){m.removeChild(n[k])}g.style.width=g.style.height=m.style.minHeight="";g.setAttribute("width",this.__forceWidth?d:e);g.setAttribute("height",l);if(sIFR.ua.ie){g.style.display="none";var j=g.offsetHeight;g.style.display=""}if(d!=f){if(this.__forceWidth){this.storeSize("width",d)}this.attempt("resize",d)}this.__resizing--},replaceText:function(g,j){var d=this.sIFR.util.escape(g);if(!this.attempt("replaceText",d)){return false}this.updateVars("content",d);var f=this.getAlternate();if(j){while(f.firstChild){f.removeChild(f.firstChild)}for(var c=0;c<j.length;c++){f.appendChild(j[c])}}else{try{f.innerHTML=g}catch(h){}}return true},changeCSS:function(c){c=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(c)));this.updateVars("css",c);return this.attempt("changeCSS",c)}};var X=new function(){this.create=function(o,j,i,f,e,g,n,l,h,m){var k=o.ua.ie?d:c;return new k(o,j,i,f,e,g,n,["flashvars",l,"wmode",h,"bgcolor",m,"allowScriptAccess","always","quality","best"])};function c(r,l,h,f,e,g,q,n){var m=r.dom.create("object",E.FLASH);var p=["type","application/x-shockwave-flash","id",f,"name",f,"data",e,"width",g,"height",q];for(var o=0;o<p.length;o+=2){m.setAttribute(p[o],p[o+1])}var j=m;if(h){j=W.create("div",E.FIX_FOCUS);j.appendChild(m)}for(var o=0;o<n.length;o+=2){if(n[o]=="name"){continue}var k=W.create("param");k.setAttribute("name",n[o]);k.setAttribute("value",n[o+1]);m.appendChild(k)}while(l.firstChild){l.removeChild(l.firstChild)}l.appendChild(j);this.html=j.cloneNode(true)}c.prototype={reset:function(e,f){e.parentNode.replaceChild(this.html.cloneNode(true),e)},setSize:function(e,f){this.html.setAttribute(e,f)},injectVars:function(e,g){var h=e.getElementsByTagName("param");for(var f=0;f<h.length;f++){if(h[f].getAttribute("name")=="flashvars"){h[f].setAttribute("value",g);break}}}};function d(o,j,h,f,e,g,n,k){this.dom=o.dom;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+f+'" width="'+g+'" height="'+n+'" class="'+E.FLASH+'"><param name="movie" value="'+e+'"></param></object>';var m="";for(var l=0;l<k.length;l+=2){m+='<param name="'+k[l]+'" value="'+k[l+1]+'"></param>'}this.html=this.html.replace(/(<\/object>)/,m+"$1");j.innerHTML=this.html}d.prototype={reset:function(f,g){g=g.cloneNode(true);var e=f.parentNode;e.innerHTML=this.html;e.appendChild(g)},setSize:function(e,f){this.html=this.html.replace(e=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+f+'"')},injectVars:function(e,f){if(e!=this.html){return }this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+f)}}};this.errors=new Z(O);var A=this.util=new D(O);var W=this.dom=new U(O);var T=this.ua=new H(O);var G={fragmentIdentifier:new F(O),pageLoad:new S(O),prefetch:new N(O),amnesia:new Y(O)};this.__resetAmnesicMovies=G.amnesia.reset;var J={kwargs:[],replaceAll:function(d){for(var c=0;c<this.kwargs.length;c++){O.replace(this.kwargs[c])}if(!d){this.kwargs=[]}}};this.activate=function(){if(!T.supported||!this.isEnabled||this.isActive||!C()||b()){return }if(T.requiresPrefetch){G.prefetch.fetchMovies(arguments)}this.isActive=true;this.setFlashClass();G.fragmentIdentifier.cache();if(!this.autoInitialize){return }G.pageLoad.attach();if(T.ie){window.attachEvent("onunload",function(){W.addClass(E.UNLOADING,document.documentElement)})}};this.setFlashClass=function(){if(this.hasFlashClassSet){return }W.addClass(E.ACTIVE,W.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return }W.removeClass(E.ACTIVE,W.getBody());W.removeClass(E.ACTIVE,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(c){if(!this.isActive||!this.isEnabled){return }if(R){if(!c){J.replaceAll(false)}return }R=true;J.replaceAll(c);if(O.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",a,false)}else{window.attachEvent("onresize",a)}}G.prefetch.clear()};this.replace=function(w,t){if(!T.supported){return }if(t){w=A.copyProperties(w,t)}if(!R){return J.kwargs.push(w)}if(this.onReplacementStart){this.onReplacementStart(w)}var AL=w.elements||W.querySelectorAll(w.selector);if(AL.length==0){return }var v=M(w.src);var AQ=A.convertCssArg(w.css);var u=B(w.filters);var AM=w.forceSingleLine===true;var AR=w.preventWrap===true&&!AM;var p=AM||(w.fitExactly==null?this.fitExactly:w.fitExactly)===true;var AC=p||(w.forceWidth==null?this.forceWidth:w.forceWidth)===true;var r=w.ratios||[];var AD=w.pixelFont===true;var q=parseInt(w.tuneHeight)||0;var y=!!w.onRelease||!!w.onRollOver||!!w.onRollOut;if(p){A.extractFromCss(AQ,".sIFR-root","text-align",true)}var s=A.extractFromCss(AQ,".sIFR-root","font-size",true)||"0";var e=A.extractFromCss(AQ,".sIFR-root","background-color",true)||"#FFFFFF";var n=A.extractFromCss(AQ,".sIFR-root","kerning",true)||"";var AV=A.extractFromCss(AQ,".sIFR-root","opacity",true)||"100";var k=A.extractFromCss(AQ,".sIFR-root","cursor",true)||"default";var AO=parseInt(A.extractFromCss(AQ,".sIFR-root","leading"))||0;var AI=w.gridFitType||(A.extractFromCss(AQ,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var h=this.forceTextTransform===false?"none":A.extractFromCss(AQ,".sIFR-root","text-transform",true)||"none";s=/^\d+(px)?$/.test(s)?parseInt(s):0;AV=parseFloat(AV)<1?100*parseFloat(AV):AV;var AB=w.modifyCss?"":A.cssToString(AQ);var AF=w.wmode||"";if(!AF){if(w.transparent){AF="transparent"}else{if(w.opaque){AF="opaque"}}}if(AF=="transparent"){if(!T.transparencySupport){AF="opaque"}else{e="transparent"}}for(var AU=0;AU<AL.length;AU++){var AE=AL[AU];if(W.hasOneOfClassses(E.IGNORE_CLASSES,AE)||W.ancestorHasClass(AE,E.ALTERNATE)){continue}var AN=W.getDimensions(AE);var f=AN.height;var c=AN.width;var z=W.getComputedStyle(AE,"display");if(!f||!c||!z||z=="none"){continue}c=W.getWidthFromStyle(AE);var m,AG;if(!s){var AK=I(AE);m=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,AK.fontSize));if(AD){m=Math.max(8,8*Math.round(m/8))}AG=AK.lines;if(isNaN(AG)||!isFinite(AG)||AG==0){AG=1}if(AG>1&&AO){f+=Math.round((AG-1)*AO)}}else{m=s;AG=1}var d=W.create("span",E.ALTERNATE);var AW=AE.cloneNode(true);AE.parentNode.appendChild(AW);for(var AT=0,AS=AW.childNodes.length;AT<AS;AT++){d.appendChild(AW.childNodes[AT].cloneNode(true))}if(w.modifyContent){w.modifyContent(AW,w.selector)}if(w.modifyCss){AB=w.modifyCss(AQ,AW,w.selector)}var o=P(AW,h,w.uriEncode);AW.parentNode.removeChild(AW);if(w.modifyContentString){o.text=w.modifyContentString(o.text,w.selector)}if(o.text==""){continue}f=Math.round(AG*m);var AJ=Math.round(AG*V(m,r)*m)+this.FLASH_PADDING_BOTTOM+q;var AA=AC?c:"100%";var AH="sIFR_replacement_"+L++;var AP=["id="+AH,"content="+A.escape(o.text),"width="+c,"height="+f,"renderheight="+AJ,"link="+A.escape(o.primaryLink.href||""),"target="+A.escape(o.primaryLink.target||""),"size="+m,"css="+A.escape(AB),"cursor="+k,"tunewidth="+(w.tuneWidth||0),"tuneheight="+q,"offsetleft="+(w.offsetLeft||""),"offsettop="+(w.offsetTop||""),"fitexactly="+p,"preventwrap="+AR,"forcesingleline="+AM,"antialiastype="+(w.antiAliasType||""),"thickness="+(w.thickness||""),"sharpness="+(w.sharpness||""),"kerning="+n,"gridfittype="+AI,"flashfilters="+u,"opacity="+AV,"blendmode="+(w.blendMode||""),"selectable="+(w.selectable==null?"true":w.selectable===true),"fixhover="+(this.fixHover===true),"events="+y,"version="+this.VERSION];var x=A.encodeVars(AP);var g=new K(O,AH,AP,AC,{onReplacement:w.onReplacement,onRollOver:w.onRollOver,onRollOut:w.onRollOut,onRelease:w.onRelease});g.movie=X.create(sIFR,AE,T.fixFocus&&w.fixFocus,AH,v,AA,AJ,x,AF,e);this.replacements.push(g);this.replacements[AH]=g;if(w.selector){if(!this.replacements[w.selector]){this.replacements[w.selector]=[g]}else{this.replacements[w.selector].push(g)}}d.setAttribute("id",AH+"_alternate");AE.appendChild(d);W.addClass(E.REPLACED,AE)}G.fragmentIdentifier.restore()};this.getReplacementByFlashElement=function(d){for(var c=0;c<O.replacements.length;c++){if(O.replacements[c].id==d.getAttribute("id")){return O.replacements[c]}}};this.redraw=function(){for(var c=0;c<O.replacements.length;c++){O.replacements[c].resetMovie()}};function C(){if(O.domains.length==0){return true}var d=A.domain();for(var c=0;c<O.domains.length;c++){if(A.domainMatches(d,O.domains[c])){return true}}return false}function b(){if(document.location.protocol=="file:"){if(O.debug){O.errors.fire("isFile")}return true}return false}function M(c){if(T.ie&&c.charAt(0)=="/"){c=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+c}return c}function V(d,e){for(var c=0;c<e.length;c+=2){if(d<=e[c]){return e[c+1]}}return e[e.length-1]||1}function B(g){var e=[];for(var d in g){if(g[d]==Object.prototype[d]){continue}var c=g[d];d=[d.replace(/filter/i,"")+"Filter"];for(var f in c){if(c[f]==Object.prototype[f]){continue}d.push(f+":"+A.escape(A.toJson(c[f],A.toHexString)))}e.push(d.join(","))}return A.escape(e.join(";"))}function a(d){var e=a.viewport;var c=W.getViewport();if(e&&c.width==e.width&&c.height==e.height){return }a.viewport=c;if(O.replacements.length==0){return }if(a.timer){clearTimeout(a.timer)}a.timer=setTimeout(function(){delete a.timer;for(var f=0;f<O.replacements.length;f++){O.replacements[f].resize()}},200)}function I(g){var h,d;if(!T.ie){h=W.getStyleAsInt(g,"lineHeight");d=Math.floor(W.getStyleAsInt(g,"height")/h)}else{if(T.ie){var h=W.getComputedStyle(g,"fontSize");if(h.indexOf("px")>0){h=parseInt(h)}else{var f=g.innerHTML;g.style.visibility="visible";g.style.overflow="visible";g.style.position="static";g.style.zoom="normal";g.style.writingMode="lr-tb";g.style.width=g.style.height="auto";g.style.maxWidth=g.style.maxHeight=g.style.styleFloat="none";var i=g;var c=g.currentStyle.hasLayout;if(c){g.innerHTML='<div class="'+E.LAYOUT+'">X<br>X<br>X</div>';i=g.firstChild}else{g.innerHTML="X<br>X<br>X"}var e=i.getClientRects();h=e[1].bottom-e[1].top;h=Math.ceil(h*0.8);if(c){g.innerHTML='<div class="'+E.LAYOUT+'">'+f+"</div>";i=g.firstChild}else{g.innerHTML=f}e=i.getClientRects();d=e.length;if(c){g.innerHTML=f}g.style.visibility=g.style.width=g.style.height=g.style.maxWidth=g.style.maxHeight=g.style.overflow=g.style.styleFloat=g.style.position=g.style.zoom=g.style.writingMode=""}}}return{fontSize:h,lines:d}}function P(c,g,s){s=s||A.uriEncode;var q=[],m=[];var k=null;var e=c.childNodes;var o=false,p=false;var j=0;while(j<e.length){var f=e[j];if(f.nodeType==3){var t=A.textTransform(g,A.normalize(f.nodeValue)).replace(/</g,"&lt;");if(o&&p){t=t.replace(/^\s+/,"")}m.push(t);o=/\s$/.test(t);p=false}if(f.nodeType==1&&!/^(style|script)$/i.test(f.nodeName)){var h=[];var r=f.nodeName.toLowerCase();var n=f.className||"";if(/\s+/.test(n)){if(n.indexOf(E.CLASS)>-1){n=n.match("(\\s|^)"+E.CLASS+"-([^\\s$]*)(\\s|$)")[2]}else{n=n.match(/^([^\s]+)/)[1]}}if(n!=""){h.push('class="'+n+'"')}if(r=="a"){var d=s(f.getAttribute("href")||"");var l=f.getAttribute("target")||"";h.push('href="'+d+'"','target="'+l+'"');if(!k){k={href:d,target:l}}}m.push("<"+r+(h.length>0?" ":"")+h.join(" ")+">");p=true;if(f.hasChildNodes()){q.push(j);j=0;e=f.childNodes;continue}else{if(!/^(br|img)$/i.test(f.nodeName)){m.push("</",f.nodeName.toLowerCase(),">")}}}if(q.length>0&&!f.nextSibling){do{j=q.pop();e=f.parentNode.parentNode.childNodes;f=e[j];if(f){m.push("</",f.nodeName.toLowerCase(),">")}}while(j==e.length-1&&q.length>0)}j++}return{text:m.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:k||{}}}};
var parseSelector=(function(){var B=/\s*,\s*/;var A=/\s*([\s>+~(),]|^|$)\s*/g;var L=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var F=/(^|\))[^\s>+~]/g;var M=/(\)|^)/;var K=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function H(R,P){P=P||document.documentElement;var S=R.split(B),X=[];for(var U=0;U<S.length;U++){var N=[P],W=G(S[U]);for(var T=0;T<W.length;){var Q=W[T++],O=W[T++],V="";if(W[T]=="("){while(W[T++]!=")"&&T<W.length){V+=W[T]}V=V.slice(0,-1)}N=I(N,Q,O,V)}X=X.concat(N)}return X}function G(N){var O=N.replace(A,"$1").replace(L,"$1*$2").replace(F,D);return O.match(K)||[]}function D(N){return N.replace(M,"$1 ")}function I(N,P,Q,O){return(H.selectors[P])?H.selectors[P](N,Q,O):[]}var E={toArray:function(O){var N=[];for(var P=0;P<O.length;P++){N.push(O[P])}return N}};var C={isTag:function(O,N){return(N=="*")||(N.toLowerCase()==O.nodeName.toLowerCase())},previousSiblingElement:function(N){do{N=N.previousSibling}while(N&&N.nodeType!=1);return N},nextSiblingElement:function(N){do{N=N.nextSibling}while(N&&N.nodeType!=1);return N},hasClass:function(N,O){return(O.className||"").match("(^|\\s)"+N+"(\\s|$)")},getByTag:function(N,O){return O.getElementsByTagName(N)}};var J={"#":function(N,P){for(var O=0;O<N.length;O++){if(N[O].getAttribute("id")==P){return[N[O]]}}return[]}," ":function(O,Q){var N=[];for(var P=0;P<O.length;P++){N=N.concat(E.toArray(C.getByTag(Q,O[P])))}return N},">":function(O,R){var N=[];for(var Q=0,S;Q<O.length;Q++){S=O[Q];for(var P=0,T;P<S.childNodes.length;P++){T=S.childNodes[P];if(T.nodeType==1&&C.isTag(T,R)){N.push(T)}}}return N},".":function(O,Q){var N=[];for(var P=0,R;P<O.length;P++){R=O[P];if(C.hasClass([Q],R)){N.push(R)}}return N},":":function(N,P,O){return(H.pseudoClasses[P])?H.pseudoClasses[P](N,O):[]}};H.selectors=J;H.pseudoClasses={};H.util=E;H.dom=C;return H})();

// Specifically Don't Replace Certain Text
// Syntax: sIFR.replace(cochin, {selector: "h1, h2:not(.example)"});
parseSelector.pseudoClasses = {
  'not': function(nodes, selector) {
    var result = [];
    each: for(var i = 0, node; i < nodes.length; i++) {
      node = nodes[i];
      var ignore = parseSelector(selector, node.parentNode);
      for(var j = 0; j < ignore.length; j++) {
        if(ignore[j] == node) continue each;
      }
      result.push(node);
    }
    return result;
  }
}

// When true the dimensions of the Flash movie will fit exactly around the width and height of the text in the movie. 
// *Note:* this is as reported by Flash, so you might need to manually tune the dimensions.
sIFR.fitExactly = true;
//sIFR.tuneWidth = 100;

//  Allow sIFR to run when loaded from the localhost domain. 
// You don't have to add localhost to the domains. 
// sIFR.fromLocal = true;

// sIFR.domains = ['hotelcorpltd.com', '*.hotelcorpltd.com', '*.id3.co.th' ]; // Uncomment before launch!

var futura = {
  src: '/f/futura.swf'
  ,ratios: [7, 1.32, 9, 1.24, 13, 1.25, 16, 1.21, 22, 1.2, 23, 1.17, 25, 1.19, 27, 1.17, 32, 1.16, 33, 1.17, 42, 1.16, 47, 1.15, 48, 1.16, 58, 1.15, 59, 1.14, 63, 1.15, 64, 1.14, 65, 1.15, 71, 1.14, 72, 1.15, 103, 1.14, 104, 1.13, 110, 1.14, 112, 1.13, 115, 1.14, 119, 1.13, 121, 1.14, 1.13]
};

sIFR.activate(futura);
// sIFR.debug.ratios({ src: '/beta/f/futura.swf', selector: 'h2' });
    sIFR.replace(futura, {
    selector: '#nav h2'
   	,forceSingleLine: true
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 21px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
	sIFR.replace(futura, {
    selector: '#pressclippings #mainright h2, #club #main h2, #courses #mainright h2, #contact #mainright h2, #showcase #showcaseright h1'
   	,forceSingleLine: true
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
   sIFR.replace(futura, {
    selector: '#pressclippings h3, #pressclippings #extended h4 a'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 16px; color: #ed1e79; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
  sIFR.replace(futura, {
    selector: '#products h2'
   	,forceSingleLine: true
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 24px; color: #000000; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
  sIFR.replace(futura, {
    selector: '#products #detailsleft h3'
   	,forceSingleLine: true
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 30px; color: #000000; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
sIFR.replace(futura, {
    selector: '#images #contact h1'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 16px; color: #ed1e79; text-transform: capitalize; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
sIFR.replace(futura, {
    selector: '#clublog #clubcontent h1, #clubaskpopup h2, #clublog #clubdetails h2, #search #contentright h2'
	,forceSingleLine: true
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 16px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
 sIFR.replace(futura, {
    selector: '#clublog h1'
	,forceSingleLine: true
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 16px; color: #000000; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
sIFR.replace(futura, {
    selector: 'h1'
	,forceSingleLine: true
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 16px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
sIFR.replace(futura, {
    selector: '#sidebar h2'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
  sIFR.replace(futura, {
    selector: '#pressclippings h2, #clubcontestframe h2'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
sIFR.replace(futura, {
    selector: 'h2'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #000000; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
    sIFR.replace(futura, {
    selector: '#contact h3'
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: capitalize; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #4b4f54; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });
	sIFR.replace(futura, {
    selector: '#popup h3'
   	,forceSingleLine: false
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #000000; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #cccccc; }'
    ]
  });

  sIFR.replace(futura, {
    selector: 'h3, #products #extended dt, #mmagazine #extended h3'
   	,forceSingleLine: true
	 ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
    sIFR.replace(futura, {
    selector: '#home #navhome, #products #navproducts, #club #navclub, #courses #navcourses, #showcase #navshowcase, #stores #navstores, #franchising #navfranchising, #contact #navcontact, #pressclippings #navpress'
    ,wmode: 'transparent'
    ,forceSingleLine: true
    ,css: [
      '.sIFR-root { text-align: left; font-size: 12px; text-transform: uppercase; cursor: pointer; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
  sIFR.replace(futura, {
    selector: '#navigation li, #splash ul li'
	,forceSingleLine: true
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 12px; text-transform: uppercase; }'
      ,'a { text-decoration: none;}'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ed1e79; }'
    ]
  });
 sIFR.replace(futura, {
    selector: '#signin h5'
	,forceSingleLine: true
    ,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-size: 14px; color: #ffffff; text-transform: capitalize; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ed1e79; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });