//---- Created using Likno Web Modal Windows Builder ver. 1.1.140.1 -----

// 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 = 'gallery';

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 gallery,gal;

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_gallery;
		newScript_lib.onreadystatechange = load_gallery;
		headID.appendChild(newScript_lib);
	}
}

function load_gallery() {if (typeof(jQuery) != 'undefined' && typeof(jQuery.liknoModal) != 'undefined'){jQuery.gallery = jQuery.extend(true, {}, jQuery.liknoModal);jQuery.gallery.impl.defaults = jQuery.extend(true, {}, jQuery.gallery.impl.defaults, {modalClass: 'gallery',overlayId: 'gallery-overlay',containerId: 'gallery-container',zIndex:2000,overlayCss:{backgroundColor:'#6F7965'},opacity:100,close:{closeClass: 'gallery-close',overlayClose:false,escClose:false,show:true,text:"<div name='myLiknoModalCloseName'><img src='http://184.175.103.114/js/image_015_close.png' /></div>", textCss:nRTC("top: -15px; right: -15px;")},position:[0,0],positionType:0,containerCss:nRTC("width:900px;height:768px;font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; border-width: 2px 2px 2px 2px; border-style: solid; border-color: #6f7965;"),domainCode:'246C373D5B223638373437343730222C22334132463246222C223233373536453643363936443639373436353634333132333246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B',ajaxLoadImage:""+lwmwmpi+"ajax-loader-clock.gif", ajaxLoadDiv:"<div id='modalAjax' style='background-image:url("+lwmwmpi+"ajax-loader-clock.gif);background-position: center center; background-repeat: no-repeat;'></div>",header:{show:true,text:"Welcome To The Hokins Gallery",textCss:nRTC("font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; 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: 15px;")},footer:{show:true,text:"Click the arrow on top of this window to close",textCss:nRTC("font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; background-color: #bdc9b2; border-width: 2px 0px 0px 0px; border-style: solid; border-color: #6f7965; padding: 7px; color: #464f30; text-align: center; height: 15px;")},wrapCss:nRTC("font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; background-color: #E5E5E5; padding: 15px; color: #464f30; line-height: 18px; text-align: center;overflow-x: hidden; overflow-y: hidden;"),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:".gallery{border-width:0px;margin:0px;padding:0px;}",text:"Sheets:",images:{butFirst:lwmwmpi+'image_064_first.png',butFirstOver:lwmwmpi+'image_064_first_over.png',butPrev:lwmwmpi+'image_064_previous.png',butPrevOver:lwmwmpi+'image_064_previous_over.png',butPlay:lwmwmpi+'image_064_play.png',butPlayOver:lwmwmpi+'image_064_play_over.png',butPause:lwmwmpi+'image_064_pause.png',butPauseOver:lwmwmpi+'image_064_pause_over.png',butNext:lwmwmpi+'image_064_next.png',butNextOver:lwmwmpi+'image_064_next_over.png',butLast:lwmwmpi+'image_064_last.png',butLastOver:lwmwmpi+'image_064_last_over.png'}},transition:{openWhat:{height:'show'}, openHow: 0,closeWhat:{height:'hide'}, closeHow: 0},animation:{window:{openWhat:{height:'show'}, openHow: {easing: 'easeOutBounce', duration: 2000},closeWhat:{height:'hide'}, closeHow: {easing: 'easeInBack', duration: 700}},overlay:{openWhat:{opacity:'show'}, openHow: { duration: 2000},closeWhat:{opacity:'hide'}, closeHow: 700}},dataId: "gallery-data"});lwmw_preloadImages(jQuery.gallery.impl.defaults);jQuery(function () {jQuery("#gal").click(function(){gal();});});gallery = function (data, options) {return jQuery.gallery.impl.init(data, options);};gallery.close = function (doNext) {return jQuery.gallery.impl.close(doNext);};var gallery_gal_options = jQuery.extend(true,{ }, jQuery.gallery.impl.defaults, {modalFullId: "gallery_gal"});lwmw_preloadImages(gallery_gal_options);gallery.gal=gal=function(options){jQuery.gallery.impl.init("<div externalUrl='http://184.175.103.114/mygallery/index.asp' />",jQuery.extend(true, {}, gallery_gal_options,options));};}}
/*140.1*/
