<!--
function get_ads(af) {
an = 0; at = 2; al = 0; ar = 3; ab = 2; ai = 0; gf = af;
google_ad_client = 'ca-soush-gizmag_js';
google_ad_channel = 'website';
google_ad_output = 'js';
google_ad_section = 'default';
google_adtest = 'off';
google_ad_type = 'text';
google_encoding = 'latin1';
google_hints = '';
google_max_num_ads = an + at + al + ar + ab + ai;
google_safe = 'high';
document.write('<scr'+'ipt language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></scr'+'ipt>');
return;
}
function google_ad_request_done(google_ads) { na = google_ads.length; show_ads(gf); return; }
function show_ads(af) {
  try { if (google_ads) { if (na==0) { return; }} } catch(e) { get_ads(af); return; }
var html = ''; var i; var as = 0; var ae = 0; var ft = 0;
if (af == 'banner') { as = 0; ae = as + an - 1; ft = 1; }
else if (af == 'top') { as = an; ae = as + at - 1; ft = 2; }
else if (af == 'bottom') { as = an + at; if (as >= na) { as = 0; } ae = as + ab - 1; ft = 2; }
else if (af == 'island') { as = an + at + ab; if (as >= na) { as = 0; } ae = as + ai - 1; ft = 4; }
else if (af == 'left' || af == 'side') { as = an + at + ab + ai; ae = as + al - 1; ft = 3; }
else if (af == 'right') { as = an + at + ab + ai + al; ae = as + ar - 1; ft = 3; }
if (ae < as) { return; }
if (as >= na) { return; } else if (ae > (na-1)) { ae = na - 1; }
if (ft == 1) {
html = '<table width="728" height="90" cellspacing="5" cellpadding="0" style="border: 1px solid #e7e7e7;"><tr>';
for (i=as; i<=ae; i++) {
html = html +
'<td align="center" valign="middle"><div style="width:230px;overflow:hidden;text-align:left;">' +
'<a href="' + google_ads[i].url + '" onmouseout="window.status=\' \'; return true;" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\'; return true;" style="text-decoration:none;background:#fff;">' +
'<div style="font-size:12px;color:#36c;"><b>' + google_ads[i].line1 + '</b></div>' +
'<div style="color:#666;">' + google_ads[i].line2 + '<br />' + google_ads[i].line3 + '</div>' +
'<div style="color:#f36031;">' + google_ads[i].visible_url + '</div>' +
'</a></div></td>';
}
html += '</tr><tr><td colspan="3" align="right">Sponsored Links</td></tr></table>';
}
else if (ft == 2) {
html = '<p class="leftmenutitle" style="color:#666;font-weight:normal;">Sponsored Links</p><br />';
for (i=as; i<=ae; i++) {
html = html +
'<a href="' + google_ads[i].url + '" onmouseout="window.status=\' \'; return true;" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\'; return true;" style="text-decoration:none;background:#fff;">' +
'<div style="font-size:12px;color:#36c;"><b>' + google_ads[i].line1 + '</b></div>' +
'<div style="color:#666;">' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</div>' +
'<div style="color:#f36031;">' + google_ads[i].visible_url + '</div>' +
'</a><br />';
}
}
else if (ft == 3) {
html = '' + 
'<br /><p class="leftmenutitle" style="color:#666;font-weight:normal;">Sponsored Links</p><br />' +
'<div style="width: 130px; overflow:hidden;">';
for (i=as; i<=ae; i++) {
html = html +
'<a href="' + google_ads[i].url + '" onmouseout="window.status=\' \'; return true;" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\'; return true;" style="text-decoration:none;background:#fff;">' +
'<div style="font-size:12px;color:#36c;"><b>' + google_ads[i].line1 + '</b></div>' +
'<div style="color:#666;">' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</div>' +
'<div style="color:#f36031;">' + google_ads[i].visible_url + '</div>' +
'</a><br />';
}
html += '</div>';
}
else if (ft == 4) {
html = '' +
'<p class="leftmenutitle" style="color:#999;font-weight:normal;">Sponsored Links</p><br />' +
'<table width="100%" cellspacing="8" cellpadding="0" style="border: 1px solid #e7e7e7;"><tr>';
var lc=0;
for (i=as; i<=ae; i++) {
if (lc>0 && !(lc%2)) { html += '</tr><tr><td></td></tr><tr>'; }
lc++;
html = html +
'<td style="width:50%" align="left" valign="top">' +
'<a href="' + google_ads[i].url + '" onmouseout="window.status=\' \'; return true;" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\'; return true;" style="text-decoration:none;background:#fff;">' +
'<div style="font-size:12px;color:#36c;"><b>' + google_ads[i].line1 + '</b></div>' +
'<div style="color:#666;">' + google_ads[i].line2 + '<br />' + google_ads[i].line3 + '</div>' +
'<div style="color:#f36031;">' + google_ads[i].visible_url + '</div>' +
'</a></td>';
}
html += '</tr></table>';
}
else if (ft == 5) {
html = '' +
'<div style="color:#999;font-size:10px;margin:0 0 4px 0;">Sponsored Links</div>' +
'<table width="100%" cellspacing="0" cellpadding="0"><tr>';
var lc=0;
for (i=as; i<=ae; i++) {
if (lc>0 && !(lc%2)) { html += '</tr><tr><td></td></tr><tr>'; }
lc++;
html = html +
'<td style="width:50%" align="left" valign="top">' +
'<a href="' + google_ads[i].url + '" onmouseout="window.status=\' \'; return true;" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\'; return true;" style="text-decoration:none;background:#fff;">' +
'<div style="font-size:12px;color:#36c;"><b>' + google_ads[i].line1 + '</b></div>' +
'<div style="color:#666;">' + google_ads[i].line2 + '<br />' + google_ads[i].line3 + '</div>' +
'<div style="color:#f36031;">' + google_ads[i].visible_url + '</div>' +
'</a></td>';
}
html += '</tr></table>';
}
document.write(html);
return;
}
//-->
