// Set up the PGPW object, this will be extended by the full codebase later if (typeof PGPW == "undefined") { var PGPW = { insertScript:function(url){ document.write('') } } if (typeof JQ == "undefined") { PGPW.insertScript('http://www.pagepow.com/javascripts/jquery.js') } // Extend the initial PGPW with the full object PGPW.insertScript('http://www.pagepow.com/javascripts/pgpw.js') } // Finally get to the instance if (typeof PGPW.Poll == "undefined") { PGPW.insertScript('http://www.pagepow.com/poll_widgets;source') } // Set up the default options for the widget that will be merged with // the user's options if (typeof PGPW.DefaultOptions == "undefined") { PGPW["DefaultOptions"] = {} } PGPW["DefaultOptions"]["39"] = {"font_size":"12px","border_color":"CCCCCC","link_color":"0000FF","background_color":"EEEEEE","text_color":"000000","width":300}