/* Copyright 2007 and beyond, Google Inc.  To use gadgets on your own site, visit http://www.google.com/webmasters/gadgets.  To create your own gadgets, visit http://www.google.com/apis/gadgets */(function(){var c=document.bgColor;var r,g,b;if(c.length!=7){r=g=b=1;}else{c=c.substring(1,c.length);r=parseInt(c.substring(0,2),16)/255;g=parseInt(c.substring(2,4),16)/255;b=parseInt(c.substring(4,6),16)/255;}var bgcolor=((r+g+b)/3<0.5)?'ffffff':'0000cc';var c='color:#'+bgcolor+';';var blue='color:#0000cc;';var hover='color:#3366cc;';var visited='color:#551a8b;';var active='color:#ff0000;';var sz9='font-size:9px;';var sz12='font-size:12px;';var underline='text-decoration:underline;';var bold='font-weight:bold;';var misc='font-family:arial,sans-serif;'+'font-variant:normal;'+'font-style:normal;'+'word-spacing:normal;'+'letter-spacing:normal;'+'vertical-align:middle;'+'text-transform:none;'+'text-indent:0;'+'line-height:normal;'+'white-space:normal;';var css='<style>'+'.ig_tbl_img .ig_smbluetext{'+misc+blue+sz9+'}'+'.ig_tbl_img .ig_lgbluetext{'+misc+blue+sz12+'}'+'.ig_tbl_img .ig_smbluelink, .ig_tbl_img .ig_smbluelink:link{'+misc+blue+sz9+underline+'}'+'.ig_tbl_img .ig_lgbluelink, .ig_tbl_img .ig_lgbluelink:link{'+misc+blue+sz12+underline+'}'+'.ig_tbl_line .ig_smbluetext{'+misc+c+sz9+'}'+'.ig_tbl_line .ig_lgbluetext{'+misc+c+sz12+'}'+'.ig_tbl_line .ig_smbluelink, .ig_tbl_line .ig_smbluelink:link{'+misc+c+sz9+underline+'}'+'.ig_tbl_line .ig_lgbluelink, .ig_tbl_line .ig_lgbluelink:link{'+misc+c+sz12+underline+'}'+'.ig_smbluelink:hover{'+misc+hover+sz9+underline+'}'+'.ig_smbluelink:visited{'+misc+visited+sz9+underline+'}'+'.ig_smbluelink:active{'+misc+active+sz9+underline+'}'+'.ig_lgbluelink:hover{'+misc+hover+sz12+underline+'}'+'.ig_lgbluelink:visited{'+misc+visited+sz12+underline+'}'+'.ig_lgbluelink:active{'+misc+active+sz12+underline+'}'+'</style>';var html='\x3cstyle\x3e.ig_tbl_img table,.ig_tbl_img tr,.ig_tbl_img td,.ig_tbl_img a,.ig_tbl_img span,.ig_tbl_line table,.ig_tbl_line tr,.ig_tbl_line td,.ig_tbl_line a,.ig_tbl_line span,ig_reset{margin:0;padding:0;padding-left:0;padding-right:0;border:0;border-collapse:collapse;float:none;clear:none;width:auto;height:auto;background:transparent none;background-position:0%;font-family:arial,sans-serif;font-variant:normal;font-style:normal;word-spacing:normal;letter-spacing:normal;vertical-align:middle;text-transform:none;text-indent:0;line-height:1.0;white-space:normal;top:auto;bottom:auto;}\x3c/style\x3e\x3ctable class\x3d\x22ig_reset ig_tbl_line\x22width\x3d775\x3e\x3ctr\x3e\x3ctd colspan\x3d2 style\x3d\x22vertical-align:bottom;text-align:center;width:100%;\x22\x3e  \x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd style\x3d\x22height:2px;\x22\x3e \x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan\x3d2\x3e\x3cdiv style\x3d\x22background:white;padding:3px;border:1px solid #999999;\x22\x3e\x3cdiv id\x3d\x22idi_407429968\x22\x3e\x3c/div\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd style\x3d\x22text-align:left\x22\x3e\x3cdiv style\x3d\x22height:20px\x22 id\x3d\x22left_407429968\x22\x3e\x3ca target\x3d_top href\x3d\x22http://fusion.google.com/ig/add?synd\x3dopen\x26source\x3dggyp\x26moduleurl\x3dhttp://hosting.gmodules.com/ig/gadgets/file/114281111391296844949/driving-directions.xml\x22\x3e\x3cimg style\x3d\x22border:0;height:17px;width:68px\x22 src\x3d\x22http://www.gmodules.com/ig/images/plus_google.gif\x22\x3e\x3c/a\x3e\x3c/div\x3e\x3c/td\x3e\x3ctd style\x3d\x22text-align:right;vertical-align:middle;height:18px\x22\x3e\x3cdiv id\x3d\x22right_407429968\x22\x3e\x3ca target\x3d_top style\x3d\x22font-size:10px;color:#0000cc;text-decoration:underline;\x22 href\x3d\x22http://www.google.com/webmasters/gadgets.html\x22\x3eGadgets\x3c/a\x3e\x3cspan style\x3d\x22font-size:10px;color:#0000cc;\x22\x3e powered by Google\x3c/span\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e';html=html.replace(/__LOCATION__/g, encodeURIComponent(location.href));document.write(css + html);window.IDICommon=window.IDICommon||function(){return{getHash:function(c){var f=c.indexOf("#")+1;return f?c.substr(f):""},htmlEscape:function(c){return/[&<>\"]/.test(c)?c.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;"):c},makeIframeTag:function(c){var f="<iframe";for(var i in c)f+=" "+i+'="'+IDICommon.htmlEscape(c[i])+'"';return f+"></iframe>"},getIframe:function(c,f){try{return c.frames[f]}catch(i){return null}},makeIframeNode:function(c){var f=document.createElement("iframe");
for(var i in c)f.setAttribute(i,c[i]);return f},appendHiddenIframe:function(c,f){setTimeout(function(){document.body.appendChild(IDICommon.makeIframeNode({id:c,name:c,src:f,width:0,height:0,frameBorder:0}))},0)},writeHiddenIframe:function(c,f){document.write(IDICommon.makeIframeTag({id:c,name:c,src:f,width:0,height:0,frameBorder:0}))},splitURIComponent:function(c,f){for(var i=[],q=c.length,m=0;m<q;){var l=c.substr(m,f),n=l.length;if(m+n<q)for(var o=1;o<3;++o)if(l.charAt(n-o)=="%")l=l.substr(0,n-=
o);i.push(l);m+=n}return i},MAX_URL_LENGTH:4095,IDI_DEFAULT_POLLING_INTERVAL:1E3}}();window.IDIHost=window.IDIHost||function(){function c(a,d){for(var b in d)a[b]=d[b]}function f(a,d){var b=window.frames[a];if(b){for(var e;e=IDICommon.getIframe(b,a+"_"+u[a]);){try{if(e.location.href=="about:blank")break}catch(g){break}s[a]+=IDICommon.getHash(e.location.href);++u[a]}b=s[a].split("$");e=b.length-1;if(e>0){s[a]=b[e];for(var h=0;h<e;++h)d(decodeURIComponent(b[h]),a)}}}function i(a){return x||a.replace(/([^:\/]\/).*$/,"$1ig/idi_relay")}function q(a){window.clearInterval(v[a]);v[a]=0}function m(a){y=
a}function l(a){x=a}function n(a,d,b){q(a);v[a]=window.setInterval(function(){f(a,d)},typeof b=="object"&&b.pollingInterval||IDICommon.IDI_DEFAULT_POLLING_INTERVAL)}function o(a,d,b){var e;if(typeof b=="object")e=b.moduleRelayUrl;b=t[a];if(isNaN(b))throw new Error("Invalid module id");else{e=typeof e=="string"?e:i(z[a]);d=encodeURIComponent(d)+"$";var g=IDICommon.MAX_URL_LENGTH-1-e.length;d=IDICommon.splitURIComponent(d,g);g=d.length;for(var h=0;h<g;++h)IDICommon.appendHiddenIframe(a+"_"+(b+h),e+
"#"+d[h]);t[a]+=g}}function A(a,d,b,e,g){var h={frameBorder:0,scrolling:"no"},w,p,k,r;if(typeof g=="object"){w=g.iframeAttrs;p=g.callback;k=g.userPrefs;r=g.parentDivId}typeof w=="object"&&c(h,w);c(h,{id:d,name:d,src:a,width:b,height:e});u[d]=0;t[d]=0;s[d]="";z[d]=a;b=[];if(typeof k=="object")for(var j in k)b.push(encodeURIComponent(j)+"="+encodeURIComponent(k[j]));if(typeof p=="function"){b.push("idi_hr="+encodeURIComponent(y));window.IDIHost.registerListener(d,p,g)}if(b.length){j=b.join("&");if(h.src.length+
1+j.length>IDICommon.MAX_URL_LENGTH){j+="$";a=i(a);g=IDICommon.MAX_URL_LENGTH-1-a.length;g=IDICommon.splitURIComponent(j,g);p=g.length;for(j=0;j<p;++j){k=d+"_"+j;b=a+"#"+g[j];if(r){e=document.getElementById(r);e.innerHTML+=IDICommon.makeIframeTag({id:k,name:k,src:b,width:0,height:0,frameBorder:0})}else IDICommon.writeHiddenIframe(k,b)}t[d]+=p;j=""}h.src+="#"+j}if(r){e=document.getElementById(r);e.innerHTML+=IDICommon.makeIframeTag(h)}else document.write(IDICommon.makeIframeTag(h))}var y=window.location.href.replace(/([^:\/])\/.*$/,
"$1/robots.txt"),x="",u={},t={},s={},z={},v={};return{setHostRelayUrl:m,setModuleRelayUrl:l,getModuleRelayUrl:i,registerListener:n,unregisterListener:q,postMessageToModule:o,createModule:A}}();function _START_TEMPLATE_SECTION(){}function _END_TEMPLATE_SECTION(){}function _TEMPLATE_VARIABLE(){}function _INLINE_TEMPLATE_SECTION(){}function _PARENS(){};
function _idi_decodeArgs(a){a=a.split("&");for(var b=0;b<a.length;b++){var c=decodeURIComponent(a[b]);a[b]=c.replace(/"/g,"")}return a}function _idi_getup(a,b){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");b=new RegExp("[\\?&]"+b+"=([^&#]*)");return(a=b.exec(a))?a[1]:null}function _idi_callback(a,b){function c(d,e){if(d=document.getElementById(d))d.style.height=e+"px"}a=_idi_decodeArgs(a);var f=a[0];f=="resize_iframe"&&c(b,a[2])};function _START_TEMPLATE_SECTION(){}function _END_TEMPLATE_SECTION(){}function _TEMPLATE_VARIABLE(){}function _INLINE_TEMPLATE_SECTION(){}function _PARENS(){};
var iframe_url = "http://www.gmodules.com/ig/ifr?url\x3dhttp://hosting.gmodules.com/ig/gadgets/file/114281111391296844949/driving-directions.xml\x26up_myLocations\x3d41.962663%2C+-88.051478+(Medinah+Country+Club+%231%20-%206N001+Medinah+Road%2C+Medinah%2C+IL+60157)\x26synd\x3dopen\x26w\x3d775\x26h\x3d60\x26title\x3d\x26border\x3d%23ffffff%7C3px%2C1px+solid+%23999999&amp;source=" + encodeURIComponent(location.href);var hostRelayUrlPath = _idi_getup(iframe_url, "req_idi_hr");if (hostRelayUrlPath != null) {var hostRelayUrl = window.location.protocol + "//" +window.location.host + hostRelayUrlPath;IDIHost.setHostRelayUrl(hostRelayUrl);}IDIHost.createModule(iframe_url, 'iframe_407429968','775', '60',{callback: _idi_callback,userPrefs: { },pollingInterval: 100,parentDivId: 'idi_407429968'});})();   