// 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.Quiz == "undefined") { PGPW.insertScript('http://www.pagepow.com/quiz_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"]["536"] = {"border_color":"FFFFFF","text_color":"000000","correct_message":"Correct! You'ra a Heartsong trivia master!","link_color":"993333","incorrect_message":"Incorrect. Better Luck next time!","font_size":"13px","background_color":"FFFFFF","width":500}