//---- Created using Likno Web Modal Windows Builder ver. 1.1.142.2 -----

// Copyright (c) Likno Software 2008-2009
// This code is property of Likno Software and licensed for use in *websites* only. It is *not* licensed for use in distributable implementations (applications or CD-based webs), unless the related license is provided by Likno Software.
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// *Removal of the present copyright notice is strictly prohibited*

var headID = document.getElementsByTagName("head")[0];

var lwmwName = 'towelscottage';

var nua=navigator.userAgent,scriptNo=(nua.indexOf('Chrome')>-1)?2:((nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1))));var lwmwmpi=document.location,xt="";
var mpa=lwmwmpi.protocol+"//"+lwmwmpi.host;
var lwmwmpi=lwmwmpi.protocol+"//"+lwmwmpi.host+lwmwmpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) lwmwmpi=oBC[0].href;}
while (lwmwmpi.search(/\\/)>-1) lwmwmpi=lwmwmpi.replace("\\","/");
lwmwmpi=lwmwmpi.substring(0,lwmwmpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(lwmwName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==lwmwName+".js"){xt=e[i].src.substring(0,e[i].src.length-lwmwName.length-3);if (e[i].src.indexOf("://")!=-1){lwmwmpi=xt;}else{if(xt.substring(0,1)=="/")lwmwmpi=mpa+xt; else lwmwmpi+=xt;}}}}}
while (lwmwmpi.search(/\/\.\//)>-1) {lwmwmpi=lwmwmpi.replace("/./","/");}

var towelscottage,cottage1,cottage2,cottage3,cottage4,cottage5,cottage6,cottage7,cottage8,cottage9;

if (typeof(jQuery) == 'undefined'){
	var newScript_jQ = document.createElement('script');
	newScript_jQ.type = 'text/javascript';
	newScript_jQ.onload = jQloaded;
	newScript_jQ.onreadystatechange = jQloaded;
	newScript_jQ.src = lwmwmpi+"jquery.js";
	headID.appendChild(newScript_jQ);
} else jQloaded();

function jQloaded(){
	if (typeof(jQuery) != 'undefined'){ 
		var newScript_lib = document.createElement('script');
		newScript_lib.type = 'text/javascript';
		newScript_lib.src = lwmwmpi+"likno-modal-lib.js";
		newScript_lib.onload = load_towelscottage;
		newScript_lib.onreadystatechange = load_towelscottage;
		headID.appendChild(newScript_lib);
	}
}

function load_towelscottage() {if (typeof(jQuery) != 'undefined' && typeof(jQuery.liknoModal) != 'undefined'){jQuery.towelscottage = jQuery.extend(true, {}, jQuery.liknoModal);jQuery.towelscottage.impl.defaults = jQuery.extend(true, {}, jQuery.towelscottage.impl.defaults, {modalClass: 'towelscottage',overlayId: 'towelscottage-overlay',containerId: 'towelscottage-container',zIndex:2000,overlayCss:{backgroundColor:'#6F7965'},opacity:80,close:{closeClass: 'towelscottage-close',overlayClose:true,escClose:true,show:true,text:"<div name='myLiknoModalCloseName'><img src='"+lwmwmpi+"towelscottage/image_015_close.png' /></div>", textCss:nRTC("top: -15px; right: -15px;")},position:[0,0],positionType:0,containerCss:nRTC("width:600px;height:600px;font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; border-width:2px 2px 2px 2px; border-style: solid; border-color: #6f7965;"),domainCode:'246C373D5B223638373437343730222C22334132463246222C2237333646363137303733373436463645363536333631373237363639364536373733222C223633364636443246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B',ajaxLoadImage:""+lwmwmpi+"towelscottage/ajax-loader-clock.gif", ajaxLoadDiv:"<div id='modalAjax' style='background-image:url("+lwmwmpi+"towelscottage/ajax-loader-clock.gif);background-position: center center; background-repeat: no-repeat;'></div>",header:{show:true,text:"Cottage Life Embroidered Towels",textCss:nRTC("font-family:Verdana, Arial, Helvetica, sans-serif; font-size:16px; background-color:#bdc9b2; border-width:0px 0px 2px 0px; border-style: solid; border-color: #6f7965; padding:7px;color:#464f30; text-align:center; font-weight:bold;height:16px;")},footer:{show:true,text:"Click on the overlay or press \"ESC\" to close",textCss:nRTC("font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; background-color:#bdc9b2; border-width:2px 0px 0px 0px; border-style: solid; border-color: #6f7965; padding:7px;color:#464f30; text-align:center; font-weight:bold;height:15px;")},wrapCss:nRTC("font-family:Verdana, Arial, Helvetica, sans-serif; font-size:16px; background-color:#d5e1c9;padding:25px;color:#464f30;line-height:18px;text-align:center;"),isMultiSheet:false, currentSheet:0,loop:true,play:{autoStart:false,pauseByMouse:false,direction:0,delay:1500},navigationBar:{maxSheets:9,show:true,showFirst:true,showPrev:true,showPlayPause:true,showNext:true,showLast:true,showSheets:true,cssClasses:".towelscottage{border-width:0px;margin:0px;padding:0px;}",text:"Sheets:",images:{butFirst:lwmwmpi+'towelscottage/image_064_first.png',butFirstOver:lwmwmpi+'towelscottage/image_064_first_over.png',butPrev:lwmwmpi+'towelscottage/image_064_previous.png',butPrevOver:lwmwmpi+'towelscottage/image_064_previous_over.png',butPlay:lwmwmpi+'towelscottage/image_064_play.png',butPlayOver:lwmwmpi+'towelscottage/image_064_play_over.png',butPause:lwmwmpi+'towelscottage/image_064_pause.png',butPauseOver:lwmwmpi+'towelscottage/image_064_pause_over.png',butNext:lwmwmpi+'towelscottage/image_064_next.png',butNextOver:lwmwmpi+'towelscottage/image_064_next_over.png',butLast:lwmwmpi+'towelscottage/image_064_last.png',butLastOver:lwmwmpi+'towelscottage/image_064_last_over.png'}},transition:{openWhat:{height:'show'}, openHow: 0,closeWhat:{height:'hide'}, closeHow: 0},dataId: "towelscottage-data"});lwmw_preloadImages(jQuery.towelscottage.impl.defaults);jQuery(function () {jQuery("#cottage1").click(function(){cottage1();});jQuery("#cottage2").click(function(){cottage2();});jQuery("#cottage3").click(function(){cottage3();});jQuery("#cottage4").click(function(){cottage4();});jQuery("#cottage5").click(function(){cottage5();});jQuery("#cottage6").click(function(){cottage6();});jQuery("#cottage7").click(function(){cottage7();});jQuery("#cottage8").click(function(){cottage8();});jQuery("#cottage9").click(function(){cottage9();});});towelscottage = function (data, options) {return jQuery.towelscottage.impl.init(data, options);};towelscottage.close = function (doNext) {return jQuery.towelscottage.impl.close(doNext);};var towelscottage_cottage1_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage1"});lwmw_preloadImages(towelscottage_cottage1_options);towelscottage.cottage1=cottage1=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/tboatbg.jpg' width='384' height='512' />",jQuery.extend(true, {}, towelscottage_cottage1_options,options));};var towelscottage_cottage2_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage2"});lwmw_preloadImages(towelscottage_cottage2_options);towelscottage.cottage2=cottage2=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/lawnchairbg.jpg' width='500' height='395' />",jQuery.extend(true, {}, towelscottage_cottage2_options,options));};var towelscottage_cottage3_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage3"});lwmw_preloadImages(towelscottage_cottage3_options);towelscottage.cottage3=cottage3=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/outhousebg.jpg' width='432' height='528' />",jQuery.extend(true, {}, towelscottage_cottage3_options,options));};var towelscottage_cottage4_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage4"});lwmw_preloadImages(towelscottage_cottage4_options);towelscottage.cottage4=cottage4=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/cedarcanoebg.jpg' width='384' height='512' />",jQuery.extend(true, {}, towelscottage_cottage4_options,options));};var towelscottage_cottage5_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage5"});lwmw_preloadImages(towelscottage_cottage5_options);towelscottage.cottage5=cottage5=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/bathbg.jpg' width='433' height='303' />",jQuery.extend(true, {}, towelscottage_cottage5_options,options));};var towelscottage_cottage6_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage6"});lwmw_preloadImages(towelscottage_cottage6_options);towelscottage.cottage6=cottage6=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/greencanoebg.jpg' width='600' height='450' />",jQuery.extend(true, {}, towelscottage_cottage6_options,options));};var towelscottage_cottage7_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage7"});lwmw_preloadImages(towelscottage_cottage7_options);towelscottage.cottage7=cottage7=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/rowboatbg.jpg' width='600' height='450' />",jQuery.extend(true, {}, towelscottage_cottage7_options,options));};var towelscottage_cottage8_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage8"});lwmw_preloadImages(towelscottage_cottage8_options);towelscottage.cottage8=cottage8=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/redcanoebg.jpg' width='588' height='392' />",jQuery.extend(true, {}, towelscottage_cottage8_options,options));};var towelscottage_cottage9_options = jQuery.extend(true,{ }, jQuery.towelscottage.impl.defaults, {modalFullId: "towelscottage_cottage9"});lwmw_preloadImages(towelscottage_cottage9_options);towelscottage.cottage9=cottage9=function(options){if (typeof options == "number") options = {currentSheet: options};jQuery.towelscottage.impl.init("<img src='"+lwmwmpi+"towelscottage/welcomebg.jpg' width='600' height='476' />",jQuery.extend(true, {}, towelscottage_cottage9_options,options));};}}
/*142.2*/