//---- Created using Likno Web Modal Windows Builder ver. 2.0.202.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 headID = document.getElementsByTagName("head")[0];

var lwmwName = 'google_maps';

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 google_maps,Modal_Google_Map,google_maps_Modal_Google_Map_options;
var LWMWloaded_google_maps = false;

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_google_maps;
		newScript_lib.onreadystatechange = load_google_maps;
		headID.appendChild(newScript_lib);
	}
}

function load_google_maps() {if (typeof(jQuery) != 'undefined' && typeof(jQuery.liknoModal) != 'undefined'){if (!LWMWloaded_google_maps) {LWMWloaded_google_maps = true;jQuery.google_maps = jQuery.extend(true, {}, jQuery.liknoModal);jQuery.google_maps.impl.defaults = jQuery.extend(true, {}, jQuery.google_maps.impl.defaults, {modalClass: 'google_maps',overlayId: 'google_maps-overlay',containerId: 'google_maps-container',zIndex:2000,overlayCss:{backgroundColor:'#000000'},opacity:50,close:{closeClass: 'google_maps-close',overlayClose:true,escClose:true,show:true,text:"<div name='myLiknoModalCloseName'><span title='Close'><img src='"+lwmwmpi+"../images/close_google.gif' align='absmiddle' /></span></div>", textCss:nRTC("top: -10px; right: -10px; font-size:11px; font-family:Verdana,Arial,Helvetica,sans-serif;")},position:[0,0],positionType:0,containerCss:nRTC("width:431px;height:375px;font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; border:3px solid #CFDEF1;"),domainCode:'246C373D5B223638373437343730222C22334132463246222C223233373536453643363936443639373436353634333132333246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B',ajaxLoadImage:""+lwmwmpi+"../images/ajax-loader-clock.gif", ajaxLoadDiv:"<div id='modalAjax' style='background-image:url("+lwmwmpi+"../images/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:".google_maps{border-width:0px;margin:0px;padding:0px;} .google_maps.navigationBarArea {     text-align: center;     background-color: #CFDEF1;     background-position: center;     background-image: url('"+lwmwmpi+"../images/image_064_bg.png');     height: 19px; }  .google_maps.navigationBarCenterSection {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     text-align: center; }  .google_maps.navigationBarSheetSection { }  .google_maps.navigationBarFirst {      padding-right: 1px; }  .google_maps.navigationBarPrev { }  .google_maps.navigationBarNext { }  .google_maps.navigationBarLast {     padding-left: 1px; }  .google_maps.navigationBarPlayPause {     margin-right: 5px; }  .google_maps.navigationBarText {     font-family: Verdana, Arial, Helvetica, sans-serif;     font-size: 11px;     color: #425080;     margin-right: 5px; }  .google_maps.navigationBarSheetLink {     color: #425080;     text-decoration: underline;     cursor: pointer; }  .google_maps .google_maps.navigationBarSheetLinkHover {     color: #6475b0; }  .google_maps.navigationBarSheetSelected {     color: #425080;     font-weight: bold; }  .google_maps.navigationBarSheetDots {     color: #6475b0; }",text:"Sheets:",images:{butFirst:lwmwmpi+'../images/image_064_first.png',butFirstOver:lwmwmpi+'../images/image_064_first_over.png',butPrev:lwmwmpi+'../images/image_064_previous.png',butPrevOver:lwmwmpi+'../images/image_064_previous_over.png',butPlay:lwmwmpi+'../images/image_064_play.png',butPlayOver:lwmwmpi+'../images/image_064_play_over.png',butPause:lwmwmpi+'../images/image_064_pause.png',butPauseOver:lwmwmpi+'../images/image_064_pause_over.png',butNext:lwmwmpi+'../images/image_064_next.png',butNextOver:lwmwmpi+'../images/image_064_next_over.png',butLast:lwmwmpi+'../images/image_064_last.png',butLastOver:lwmwmpi+'../images/image_064_last_over.png'}},transition:{openWhat:{height:'show'}, openHow: {easing: 'linear', duration: 0}, closeWhat:{height:'hide'}, closeHow: {easing: 'linear', duration: 0}},dataId: "google_maps-data"});lwmw_preloadImages(jQuery.google_maps.impl.defaults);jQuery(function () {jQuery("#Modal_Google_Map, a[target=Modal_Google_Map], area[target=Modal_Google_Map]").live("click",function(){Modal_Google_Map(); return false;});});google_maps = function (data, options) {return jQuery.google_maps.impl.init(data, options);};google_maps.close = function (doNext) {return jQuery.google_maps.impl.close(doNext);};var google_maps_Modal_Google_Map_options = jQuery.extend(true,{ }, jQuery.google_maps.impl.defaults, {containerCss:nRTC("width:575px;height:500px;"),modalFullId: "google_maps_Modal_Google_Map"});lwmw_preloadImages(google_maps_Modal_Google_Map_options);google_maps.Modal_Google_Map=Modal_Google_Map=function(options){jQuery.google_maps.impl.init("<iframe width=\"475\" height=\"400\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"http://maps.google.ca/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Juddhaven+Rd,+Minett,+Ontario,+Canada&amp;sll=43.318715,-79.843225&amp;sspn=0.028132,0.066047&amp;ie=UTF8&amp;hq=&amp;hnear=Juddhaven+Rd,+Minett,+Ontario+P0B+1G0&amp;ll=45.164187,-79.648818&amp;spn=0.027263,0.066047&amp;z=14&amp;output=embed\"></iframe><br /><a href=\"http://maps.google.ca/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=Juddhaven+Rd,+Minett,+Ontario,+Canada&amp;sll=43.318715,-79.843225&amp;sspn=0.028132,0.066047&amp;ie=UTF8&amp;hq=&amp;hnear=Juddhaven+Rd,+Minett,+Ontario+P0B+1G0&amp;ll=45.164187,-79.648818&amp;spn=0.027263,0.066047&amp;z=14\" style=\"color:#0000FF;text-align:left\" target=\"_blank\"><font size=\"3\">CLICK HERE TO MAP OUT YOUR INDIVIDUAL DIRECTIONS</font></a>",jQuery.extend(true, {}, google_maps_Modal_Google_Map_options,options));};}}}
/*202.1*/
