function jobs_callback(a){if(a.hotJobClassified.length>0||a.featuredEmployer.length>0){var b,g;jQuery("#jobs_widget").css({padding:"0px",margin:"0px auto",font:"11px sans-serif","line-height":"0px",background:"#fff url(http://www.jobshq.com/widgets/hotjobs300/gfx/hotjobs_bg.gif) repeat-y center",width:"300px"});if(a.hotJobClassified.length>0){var c=a.hotJobClassified,h=c.length,d;d=c.length<5?a.hotJobClassified.length:5;var e=jQuery("<a/>").attr({href:"http://www.jobshq.com/",title:"jobsHQ.com"}).html('<img title="JobsHQ HotJobs" alt="JobsHQ HotJobs" src="http://www.jobshq.com/widgets/hotjob/gfx/hotjobs_header.gif" style="border:none">');
jQuery("#jobs_widget").append(e);e=jQuery("<ul/>").css({padding:"0 5px",margin:"0","line-height":"normal"});for(var f,i=[],k=0;i.length<d;){f=Math.floor(Math.random()*h);if(jQuery.inArray(f,i)==-1){i[k]=f;k++;var j=a.hotJobClassified[f].id,l=a.hotJobClassified[f].text;b=c[f].company_id;f=jQuery("<li/>").css({margin:"0",padding:"5px 7px","list-style":"none","border-bottom":"1px solid #efefef","text-align":"left"});j=jQuery("<a/>").attr({href:"http://www.jobshq.com/search/?page=summary&id="+j+"&company_id="+
b,title:"click to view more information",target:"_blank"}).css({color:"#2630ff","text-decoration":"none"}).hover(function(){jQuery(this).css({color:"#f60","font-weight":"normal","text-decoration":"none"})},function(){jQuery(this).css({color:"#2630ff","font-weight":"normal","text-decoration":"none"})}).text(l+" "+String.fromCharCode(187));jQuery(f).append(j);jQuery(e).append(f)}}jQuery("#jobs_widget").append(e);c=jQuery("<div/>").css({padding:"3px 10px",width:"auto","text-align":"right","line-height":"normal"});
b=jQuery("<a/>").attr({title:"view all HotJobs",href:"http://www.jobshq.com/search/?newspaper="+b+"&hotjobs=1"}).css({color:"#2630ff","text-decoration":"none"}).hover(function(){jQuery(this).css({color:"#f60","font-weight":"normal","text-decoration":"none"})},function(){jQuery(this).css({color:"#2630ff","font-weight":"normal","text-decoration":"none"})}).text("view all HotJobs "+String.fromCharCode(187));jQuery(c).append(b);jQuery("#jobs_widget").append(c);b=jQuery("<img />").attr({title:"JobFlicks",
alt:"JobFlicks",src:"http://www.jobshq.com/widgets/hotjob/gfx/hotjobs_footer.gif"});jQuery("#jobs_widget").append(b)}if(a.featuredEmployer.length>0){b=a.featuredEmployer.length;d=Math.floor(Math.random()*b);b=a.featuredEmployer[d].id;if(a.featuredJobs.length>0)for(c=0;c<a.featuredJobs.length;c++)if(a.featuredJobs[c].company_id==b){g=c;break}b=jQuery("<a></a>").attr({title:"JobsHQ.com Featured Employer",target:"_blank",href:"http://www.jobshq.com"}).html('<img title="JobsHQ Featured Employer" alt="JobsHQ Featured Employer" src="http://www.jobshq.com/widgets/hotjob/gfx/fe_header.gif" style="border:none;"/>');
jQuery("#jobs_widget").append(b);c=jQuery("<ul/>").css({padding:"0 5px",margin:"0","line-height":"normal"});b=a.featuredEmployer[d].id;h=a.featuredEmployer[d].name;e=a.featuredEmployer[d].logo;d=jQuery("<li/>").css({margin:"0",padding:"5px 7px","list-style":"none","border-bottom":"1px solid #efefef","text-align":"left"});e=jQuery("<a/>").attr({title:h,target:"_blank",href:"http://www.jobshq.com/employers/?page=about&id="+b}).css("border","none").html('<img title="'+h+'" alt="'+h+'" src="http://www.jobshq.com/gfx/logos/'+
e+'" style="display:block;margin:0;margin-left:auto;margin-right:auto;padding:5px;text-align:center;border:none;"/>');jQuery(d).append(e);if(typeof g!="undefined"){e=jQuery("<div></div>").css({"text-align":"center",margin:"0",padding:"0 7px 5px 7px"});a=jQuery("<a/>").attr({title:h,target:"_blank",href:"http://www.jobshq.com/search/?page=title&id="+a.featuredJobs[g].id+"&company_id="+a.featuredJobs[g].company_id}).css({color:"#2630ff","text-decoration":"none"}).hover(function(){jQuery(this).css({color:"#f60",
"font-weight":"normal","text-decoration":"none"})},function(){jQuery(this).css({color:"#2630ff","font-weight":"normal","text-decoration":"none"})}).text(a.featuredJobs[g].title);jQuery(e).append(a);jQuery(d).append(e)}jQuery(c).append(d);jQuery("#jobs_widget").append(c);a=jQuery("<div/>").css({padding:"3px 10px",width:"auto","text-align":"right","line-height":"normal"});g=jQuery("<a/>").attr({title:"view employer jobs",href:"http://www.jobshq.com/employers/?page=about&id="+b}).css({color:"#2630ff",
"text-decoration":"none"}).hover(function(){jQuery(this).css({color:"#f60","font-weight":"normal","text-decoration":"none"})},function(){jQuery(this).css({color:"#2630ff","font-weight":"normal","text-decoration":"none"})}).text("view employer jobs "+String.fromCharCode(187));jQuery(a).append(g);jQuery("#jobs_widget").append(a);a=jQuery("<img/>").attr({title:"JobFlicks",alt:"JobFlicks",src:"http://www.jobshq.com/widgets/hotjob/gfx/hotjobs_footer.gif"});jQuery("#jobs_widget").append(a);a=jQuery("<a></a>").attr({title:"Post jobs for as little as $99.95",
href:"http://www.jobshq.com/myhq/?page=postjob"}).html('<img title="Post jobs for as little as $99.95" alt="Post jobs for as little as $99.95" src="http://www.jobshq.com/widgets/hotjob/gfx/employerbadge.jpg" border="0">');jQuery("#jobs_widget").append(a)}}};