// 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://pagepow.com/javascripts/jquery.js') } // Extend the initial PGPW with the full object PGPW.insertScript('http://pagepow.com/javascripts/pgpw.js') } // Finally get to the instance if (typeof PGPW.FiveStar == "undefined") { PGPW.insertScript('http://pagepow.com/five_star_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"]["18"] = {"border_color":"FFFFFF","orientation":"horizontal","display_stats":true,"background_color":"FFFFFF","text_color":"000000","font_size":"12px"}