(function() { var jQuery; /******** Load jQuery if not present *********/ if (window.jQuery === undefined || window.jQuery.fn.jquery !== '1.4.2') { var script_tag = document.createElement('script'); script_tag.setAttribute("type","text/javascript"); script_tag.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"); script_tag.onload = scriptLoadHandler; script_tag.onreadystatechange = function () { // Same thing but for IE if (this.readyState == 'complete' || this.readyState == 'loaded') { scriptLoadHandler(); } }; // Try to find the head, otherwise default to the documentElement (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag); } else { // The jQuery version on the window is the one we want to use jQuery = window.jQuery; main(); } /******** Called once jQuery has loaded ******/ function scriptLoadHandler() { // Restore $ and window.jQuery to their previous values and store the // new jQuery in our local jQuery variable jQuery = window.jQuery.noConflict(true); // Call our main function main(); } /******** Our main function ********/ function main() { jQuery(document).ready(function($) { var css_link = $("", { rel: "stylesheet", type: "text/css", href: "http://www.classifiedcommons.com/site_media/css/widgets/common.css" }); css_link.appendTo('head'); css_link = $("", { rel: "stylesheet", type: "text/css", href: "http://www.classifiedcommons.com/site_media/css/widgets/user.css" }); css_link.appendTo('head'); css_link = $("", { rel: "stylesheet", type: "text/css", href: "http://fonts.googleapis.com/css?family=Droid+Serif" }); css_link.appendTo('head'); css_link = $("", { rel: "stylesheet", type: "text/css", href: "http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" }); css_link.appendTo('head'); var url_param = "?from=widget"; var returnHtml = ""; returnHtml +="
"; returnHtml += "
"; returnHtml += "
"; returnHtml += "Ads by dannyroa
"; returnHtml += "
Speakers
"; returnHtml += "
IPhone 3GS
"; returnHtml += "
2 bedroom bare unit (Hennesy 3 - 7th Flr)
"; returnHtml += "
Blink by Malcolm Gladwell
"; returnHtml += "
www.sharedsquare.com
"; returnHtml += "
AT&T DSL Modem (Brand: 2WIRE)
"; returnHtml += "
Linksys Wireless-G Router
"; returnHtml += "
www.fansynch.com
"; returnHtml += "
www.structicons.com
"; returnHtml += "
USB Charger
"; returnHtml += "
Armband
"; returnHtml += "
Chromebook
"; returnHtml += "
" returnHtml +="
"; $("#cc-user-widget").html(returnHtml); }); } })();