//---- Created using Likno Web Modal Windows Builder ver. 1.1.124.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 = 'video_modal';

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 video_modal,Modal_Window_2;

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_video_modal;
		newScript_lib.onreadystatechange = load_video_modal;
		headID.appendChild(newScript_lib);
	}
}

function load_video_modal() {if (typeof(jQuery) != 'undefined' && typeof(jQuery.liknoModal) != 'undefined'){jQuery.video_modal = jQuery.extend(true, {}, jQuery.liknoModal);jQuery.video_modal.impl.defaults = jQuery.extend(true, jQuery.video_modal.impl.defaults, {modalClass: 'video_modal',overlayId: 'video_modal-overlay',containerId: 'video_modal-container',ZIndex:2000,overlayCss:{backgroundColor:'#000000'},opacity:50,close:{closeClass: 'video_modal-close',overlayClose:true,escClose:true,show:true,text:"<div name='myLiknoModalCloseName'><img src='"+lwmwmpi+"video_modal/image_049_close.png' /></div>", textCss:nRTC("top: 10px; right:10px; font-size:11px; font-family:Verdana,Arial,Helvetica,sans-serif;")},containerCss:nRTC("width:530px;height:430px;font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; border:3px solid #CFDEF1;"),domainCode:'246C373D5B223638373437343730222C22334132463246222C223233373536453643363936443639373436353634333132333246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B',ajaxLoadDiv:"<div id='modalAjax' style='background-image:url("+lwmwmpi+"video_modal/ajax-loader-clock.gif);background-position: center center; background-repeat: no-repeat;'></div>",header:{show:false},footer:{show:false},wrapCss:nRTC("background-color:#EAF1FB; 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:".video_modal{border-width:0px;margin:0px;padding:0px;} .video_modal.navigationBarArea {     text-align: center;     background-color: #CFDEF1;     background-position: center;     background-image: url('"+lwmwmpi+"video_modal/image_064_bg.png');     height: 19px; }  .video_modal.navigationBarCenterSection {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     text-align: center; }  .video_modal.navigationBarSheetSection { }  .video_modal.navigationBarFirst {      padding-right: 1px; }  .video_modal.navigationBarPrev { }  .video_modal.navigationBarNext { }  .video_modal.navigationBarLast {     padding-left: 1px; }  .video_modal.navigationBarPlayPause {     margin-right: 5px; }  .video_modal.navigationBarText {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     color: #425080;     margin-right: 5px; }  .video_modal.navigationBarSheetLink {     color: #425080;     text-decoration: underline;     cursor: pointer; }  .video_modal .video_modal.navigationBarSheetLinkHover {     color: #6475b0; }  .video_modal.navigationBarSheetSelected {     color: #425080;     font-weight: bold; }  .video_modal.navigationBarSheetDots {     color: #6475b0; }",text:"Sheets:", images:{butFirst:lwmwmpi+'video_modal/image_064_first.png',butFirstOver:lwmwmpi+'video_modal/image_064_first_over.png',butPrev:lwmwmpi+'video_modal/image_064_previous.png',butPrevOver:lwmwmpi+'video_modal/image_064_previous_over.png',butPlay:lwmwmpi+'video_modal/image_064_play.png',butPlayOver:lwmwmpi+'video_modal/image_064_play_over.png',butPause:lwmwmpi+'video_modal/image_064_pause.png',butPauseOver:lwmwmpi+'video_modal/image_064_pause_over.png',butNext:lwmwmpi+'video_modal/image_064_next.png',butNextOver:lwmwmpi+'video_modal/image_064_next_over.png',butLast:lwmwmpi+'video_modal/image_064_last.png',butLastOver:lwmwmpi+'video_modal/image_064_last_over.png'}},transition:{openWhat:{height:'show'}, openHow: 0,closeWhat:{height:'hide'}, closeHow: 0},animation:{window:{openWhat:{opacity:'show'},openHow: {easing: 'linear', duration: 200},closeWhat:{opacity:'hide'}, closeHow: {easing: 'linear', duration: 200}},overlay:{openWhat:{opacity:'show'},openHow: 200,closeWhat:{opacity:'hide'}, closeHow: 200}},dataId: "video_modal-data"});jQuery(function () {jQuery("#Modal_Window_2").click(function(){Modal_Window_2();});jQuery("*[name='image2.jpg']").live("click",function(){Modal_Window_2();});});video_modal = function (data, options) {return jQuery.video_modal.impl.init(data, options);};video_modal.close = function (doNext) {return jQuery.video_modal.impl.close(doNext);};video_modal.Modal_Window_2=Modal_Window_2=function(options){jQuery.video_modal.impl.init("<div externalUrl='vidmodal.html' />",options);};}}
/*124.1*/
