Warning: sem_get() [function.sem-get]: failed for key 0x152b: Permission denied in /home1/hsewebde/public_html/5/wp-content/plugins/wp-cache/wp-cache-phase2.php on line 98
//dooodl autoload function testForAutoload(){ var qs = location.href; qs = qs.toLowerCase(); if(qs.indexOf("#dooodlviewer") != -1){ //trigger shadowbox to open the viewer Shadowbox.open({ content: 'http://www.hsewebdesign.org/5/wp-content/plugins/dooodl/s#theviewer', player: 'iframe', width: 880, height: 600, options:{ onClose:function(){ checkURL(); } } }); }else if(qs.indexOf("#drawadooodl") != -1){ //trigger shadowbox to open the drawer Shadowbox.open({ content: 'http://www.hsewebdesign.org/5/wp-content/plugins/dooodl/creator', player: 'iframe', width: 700, height: 400, options:{ onClose:function(){ checkURL(); } } }); } } function updateURL(str){ window.location = location.href.split("#")[0] +str; } function checkURL(){ // alert("location.search: " + location.href); if(location.href.toLowerCase().indexOf("#dooodlviewer") != -1){ window.location = location.href.split("#dooodlviewer")[0]+"#"; } if(location.href.toLowerCase().indexOf("#drawadooodl") != -1){ window.location = location.href.split("#drawadooodl")[0]+"#"; } }