//---- Created using Likno Web Modal Windows Builder ver. 2.0.210.1 -----

// Copyright (c) Likno Software 2008-2011
// 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*
// This project has been compiled for (and will work under): Unlimited Domains

var $u = 'undefined';
var headID = document.getElementsByTagName("head")[0];

var lwmwName = 'comment_images';

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 comment_images,EYMS_452,comment_images_EYMS_452_options,FV_971,comment_images_FV_971_options,YS_2093,comment_images_YS_2093_options,United_Bus_Livery,comment_images_United_Bus_Livery_options,United_Coach_Livery,comment_images_United_Coach_Livery_options,Halifax_Roadliner,comment_images_Halifax_Roadliner_options,EYMS_Panther,comment_images_EYMS_Panther_options,EYMS_649,comment_images_EYMS_649_options;
var LWMWloaded_comment_images = false;

if (typeof(lQuery) == $u && (typeof(jQuery) == $u || (typeof(jQuery.liknoAccordion) == $u && typeof(jQuery.liknoModal) == $u && typeof(jQuery.liknoTabs) == $u && typeof(jQuery.fn.likno_tooltip) == $u))) {
	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) == $u) return;
	if (typeof(lQuery) == $u) { lQuery = jQuery; if (typeof(_$)!=$u) lQuery.noConflict(); }
	if (typeof(lQuery.liknoModal) != $u) load_comment_images();
	else {
		var newScript_lib = document.createElement('script');
		newScript_lib.type = 'text/javascript';
		newScript_lib.src = lwmwmpi+"likno-modal-lib.js";
		newScript_lib.onload = load_comment_images;
		newScript_lib.onreadystatechange = load_comment_images;
		headID.appendChild(newScript_lib);
	}
}function load_comment_images() {if (typeof(lQuery) != 'undefined' && typeof(lQuery.liknoModal) != 'undefined'){if (!LWMWloaded_comment_images) {LWMWloaded_comment_images = true;lQuery.comment_images = lQuery.extend(true, {}, lQuery.liknoModal);lQuery.comment_images.impl.defaults = lQuery.extend(true, {}, lQuery.comment_images.impl.defaults, {modalClass: 'comment_images',overlayId: 'comment_images-overlay',containerId: 'comment_images-container',zIndex:2000,overlayCss:{backgroundColor:'#6F7965'},opacity:80,close:{closeClass: 'comment_images-close',overlayClose:true,escClose:true,show:true,text:"<div name='myLiknoModalCloseName'><img src='"+lwmwmpi+"comment_images/image_023_close.png' /></div>", textCss:nRTC("")},position:[0,0],positionType:0,containerCss:nRTC("width:400px;height:290px;font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; border:2px solid #6F7965;"),domainCode:'246C373D5B223638373437343730222C22334132463246222C223233373536453643363936443639373436353634333132333246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B',ajaxLoadImage:""+lwmwmpi+"comment_images/ajax-loader-clock.gif", ajaxLoadDiv:"<div id='modalAjax' style='background-image:url("+lwmwmpi+"comment_images/ajax-loader-clock.gif);background-position: center center; background-repeat: no-repeat;'></div>",header:{show:false},footer:{show:true,text:"Click on the X, Grey out area or press \"ESC\" to close",textCss:nRTC("text-align:center; background-color:#d5e1c9; border-width: 2px 0px 0px 0px; border-style: solid; border-color: #6F7965;height:20px; padding:10px 0px 0px 0px;")},wrapCss:nRTC("background-color:#f8f8f8; padding:3px;"),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:".comment_images{border-width:0px;margin:0px;padding:0px;} .comment_images.navigationBarArea {     text-align: center;     background-color: #CFDEF1;     background-position: center;     background-image: url('"+lwmwmpi+"comment_images/image_064_bg.png');     height: 19px; }  .comment_images.navigationBarCenterSection {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     text-align: center; }  .comment_images.navigationBarSheetSection { }  .comment_images.navigationBarFirst {      padding-right: 1px; }  .comment_images.navigationBarPrev { }  .comment_images.navigationBarNext { }  .comment_images.navigationBarLast {     padding-left: 1px; }  .comment_images.navigationBarPlayPause {     margin-right: 5px; }  .comment_images.navigationBarText {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     color: #425080;     margin-right: 5px; }  .comment_images.navigationBarSheetLink {     color: #425080;     text-decoration: underline;     cursor: pointer; }  .comment_images .comment_images.navigationBarSheetLinkHover {     color: #6475b0; }  .comment_images.navigationBarSheetSelected {     color: #425080;     font-weight: bold; }  .comment_images.navigationBarSheetDots {     color: #6475b0; }",text:"Sheets:",images:{butFirst:lwmwmpi+'comment_images/image_064_first.png',butFirstOver:lwmwmpi+'comment_images/image_064_first_over.png',butPrev:lwmwmpi+'comment_images/image_064_previous.png',butPrevOver:lwmwmpi+'comment_images/image_064_previous_over.png',butPlay:lwmwmpi+'comment_images/image_064_play.png',butPlayOver:lwmwmpi+'comment_images/image_064_play_over.png',butPause:lwmwmpi+'comment_images/image_064_pause.png',butPauseOver:lwmwmpi+'comment_images/image_064_pause_over.png',butNext:lwmwmpi+'comment_images/image_064_next.png',butNextOver:lwmwmpi+'comment_images/image_064_next_over.png',butLast:lwmwmpi+'comment_images/image_064_last.png',butLastOver:lwmwmpi+'comment_images/image_064_last_over.png'}},transition:{openWhat:{height:'show'}, openHow: {easing: 'linear', duration: 0}, closeWhat:{height:'hide'}, closeHow: {easing: 'linear', duration: 0}},animation:{window:{closeWhat:{opacity:'hide'}, closeHow: {easing: 'linear', duration: 500}},overlay:{closeWhat:{opacity:'hide'}, closeHow: {easing: 'linear', duration: 500}}},dataId: "comment_images-data"});lwmw_preloadImages(lQuery.comment_images.impl.defaults);lQuery(function () {lQuery("#EYMS_452, a[target=EYMS_452], area[target=EYMS_452]").live("click",function(){EYMS_452(); return false;});lQuery("#FV_971, a[target=FV_971], area[target=FV_971]").live("click",function(){FV_971(); return false;});lQuery("#YS_2093, a[target=YS_2093], area[target=YS_2093]").live("click",function(){YS_2093(); return false;});lQuery("#United_Bus_Livery, a[target=United_Bus_Livery], area[target=United_Bus_Livery]").live("click",function(){United_Bus_Livery(); return false;});lQuery("#United_Coach_Livery, a[target=United_Coach_Livery], area[target=United_Coach_Livery]").live("click",function(){United_Coach_Livery(); return false;});lQuery("#Halifax_Roadliner, a[target=Halifax_Roadliner], area[target=Halifax_Roadliner]").live("click",function(){Halifax_Roadliner(); return false;});lQuery("#EYMS_Panther, a[target=EYMS_Panther], area[target=EYMS_Panther]").live("click",function(){EYMS_Panther(); return false;});lQuery("#EYMS_649, a[target=EYMS_649], area[target=EYMS_649]").live("click",function(){EYMS_649(); return false;});});comment_images = function (data, options) {return lQuery.comment_images.impl.init(data, options);};comment_images.close = function (doNext) {return lQuery.comment_images.impl.close(doNext);};var comment_images_EYMS_452_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:820px;height:560px;"),modalFullId: "comment_images_EYMS_452"});lwmw_preloadImages(comment_images_EYMS_452_options);comment_images.EYMS_452=EYMS_452=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/themes/Old-Bus-Photos/comment_images/EYMS 452.jpg' />",lQuery.extend(true, {}, comment_images_EYMS_452_options,options));};var comment_images_FV_971_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:750px;height:530px;"),modalFullId: "comment_images_FV_971"});lwmw_preloadImages(comment_images_FV_971_options);comment_images.FV_971=FV_971=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/themes/Old-Bus-Photos/comment_images/FV 971.jpg' />",lQuery.extend(true, {}, comment_images_FV_971_options,options));};var comment_images_YS_2093_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:580px;height:600px;"),modalFullId: "comment_images_YS_2093"});lwmw_preloadImages(comment_images_YS_2093_options);comment_images.YS_2093=YS_2093=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/themes/Old-Bus-Photos/comment_images/YS 2093.jpg' />",lQuery.extend(true, {}, comment_images_YS_2093_options,options));};var comment_images_United_Bus_Livery_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:500px;height:340px;"),modalFullId: "comment_images_United_Bus_Livery"});lwmw_preloadImages(comment_images_United_Bus_Livery_options);comment_images.United_Bus_Livery=United_Bus_Livery=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/uploads/2009/07/vhn898-lr-thumb.jpg' />",lQuery.extend(true, {}, comment_images_United_Bus_Livery_options,options));};var comment_images_United_Coach_Livery_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:500px;height:340px;"),modalFullId: "comment_images_United_Coach_Livery"});lwmw_preloadImages(comment_images_United_Coach_Livery_options);comment_images.United_Coach_Livery=United_Coach_Livery=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/uploads/2009/06/301ghn-lr-thumb.jpg' />",lQuery.extend(true, {}, comment_images_United_Coach_Livery_options,options));};var comment_images_Halifax_Roadliner_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:500px;height:370px;"),modalFullId: "comment_images_Halifax_Roadliner"});lwmw_preloadImages(comment_images_Halifax_Roadliner_options);comment_images.Halifax_Roadliner=Halifax_Roadliner=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/uploads/2009/05/cvc124c-lr-thumb.jpg' />",lQuery.extend(true, {}, comment_images_Halifax_Roadliner_options,options));};var comment_images_EYMS_Panther_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:500px;height:330px;"),modalFullId: "comment_images_EYMS_Panther"});lwmw_preloadImages(comment_images_EYMS_Panther_options);comment_images.EYMS_Panther=EYMS_Panther=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/uploads/2009/05/gat801d-lr-thumb.jpg' />",lQuery.extend(true, {}, comment_images_EYMS_Panther_options,options));};var comment_images_EYMS_649_options = lQuery.extend(true,{ }, lQuery.comment_images.impl.defaults, {containerCss:nRTC("width:500px;height:350px;"),modalFullId: "comment_images_EYMS_649"});lwmw_preloadImages(comment_images_EYMS_649_options);comment_images.EYMS_649=EYMS_649=function(options){lQuery.comment_images.impl.init("<div externalUrl='http://www.old-bus-photos.co.uk/wp-content/uploads/2009/04/wat651-lr-thumb.jpg' />",lQuery.extend(true, {}, comment_images_EYMS_649_options,options));};lwmw_checkVarUrl('comment_images', 'EYMS_452');lwmw_checkVarUrl('comment_images', 'FV_971');lwmw_checkVarUrl('comment_images', 'YS_2093');lwmw_checkVarUrl('comment_images', 'United_Bus_Livery');lwmw_checkVarUrl('comment_images', 'United_Coach_Livery');lwmw_checkVarUrl('comment_images', 'Halifax_Roadliner');lwmw_checkVarUrl('comment_images', 'EYMS_Panther');lwmw_checkVarUrl('comment_images', 'EYMS_649');}}}
/*210.1*/
