// 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.FiveStar == "undefined") { PGPW.insertScript('http://www.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"]["372"] = {"border_color":"3366CC","text_color":"000000","display_stats":true,"font_size":"small","orientation":"horizontal","background_color":"F6F6F6"}