/* //////////////////////////////////////////////////////////////////////

 Copyright (c) 2005, bigclique.com 
 bigclique@grockcorp.com 
 http://www.bigclique.com/

 Note: use of this code indicates agreement to our Affiliate Agreement 
 Please see http://grockmediaxml.bigclique.com/static.php?pg=affiliateagreement

 Rev 3.0 - 01.03.2006

 Feel free to adjust.
 
 BUT:
    1) You must retain this notice
    2) You must retain the redirect through our servers for clickthroughs

    THIS SOFTWARE IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY KIND IS EXPRESSED
    OR IMPLIED. THE AUTHOR WILL NOT BE LIABLE  FOR DATA LOSS, DAMAGES, LOSS OF 
    PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE.

////////////////////////////////////////////////////////////////////// */

// Get settings
try {
	// Box
	if (typeof(gx_box_width) == 'undefined') gx_box_width = '200';
	if (typeof(gx_box_border_color) == 'undefined') gx_box_border_color = '#ADADFC';
	if (typeof(gx_box_color_normal) == 'undefined') gx_box_color_normal = '#FFFFFF';
	if (typeof(gx_box_color_hover) == 'undefined') gx_box_color_hover = '#E6F2CF';
	// Box caption
	if (typeof(gx_head_font) == 'undefined') gx_head_font = 'Verdana, Arial, Helvetica, sans-serif';
	if (typeof(gx_head_size) == 'undefined') gx_head_size = '12';
	if (typeof(gx_head_color) == 'undefined') gx_head_color = '#FFFFFF';
	// Item title
	if (typeof(gx_title_font) == 'undefined') gx_title_font = 'Verdana, Arial, Helvetica, sans-serif';
	if (typeof(gx_title_size) == 'undefined') gx_title_size = '11';
	if (typeof(gx_title_color) == 'undefined') gx_title_color = '#0000CC';
	// Item description
	if (typeof(gx_descr_font) == 'undefined') gx_descr_font = 'Verdana, Arial, Helvetica, sans-serif';
	if (typeof(gx_descr_size) == 'undefined') gx_descr_size = '11';
	if (typeof(gx_descr_color) == 'undefined') gx_descr_color = '#000000';
	// Ext style
	if (typeof(gx_use_ext_css) == 'undefined' || typeof(gx_ext_css) == 'undefined') gx_use_ext_css = false;
	else gx_use_ext_css = true;
}
catch (e) {}

// Results
gx_listings = new Array();
// Number of results
gx_iii=0;
// Add to list
function gx_to_list(gx_id, gx_title, gx_url, gx_uri, gx_description, gx_bid) {
    gx_listings[gx_iii] = new GX_Listing(gx_id, gx_title, gx_url, gx_uri, gx_description, gx_bid);
    gx_iii++;
}
// Listing Object
function GX_Listing(gx_id, gx_title, gx_url, gx_uri, gx_description, gx_bid) {
  this.id = gx_id;
  this.title = gx_title;
  this.url = gx_url;
  this.uri = gx_uri;
  this.description = gx_description;
  this.bid = gx_bid;
}

gx_to_list("1", "Beyond The Dow", "http://www.beyondthedow.com/current/news", "http://grockmediaxml.bigclique.com/go.php?link_id=b370f5e867bb9820935b6a6c9a38398d&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Stay up to date with the latest news in business and finance.", "0.01");
gx_to_list("2", "Candice Swanepoel Bikini", "http://www.gossipcenter.com/candice-bikini", "http://grockmediaxml.bigclique.com/go.php?link_id=4a04282500065b259392d69a2438a05a&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Vicotrias Secret bikini photo shoot for the 21 year old South African", "0.01");
gx_to_list("3", "Gisele Bundchen Seja Sexy", "http://www.gossipcenter.com/gisele-sejaa", "http://grockmediaxml.bigclique.com/go.php?link_id=19b2e4ffc22d3025cb8a802ac9ceb3c7&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Tropical photo shoot of Gisele in several different swimsuits poses", "0.01");
gx_to_list("4", "Kate Moss French Vogue", "http://www.celebrity-gossip.net/kate-moss", "http://grockmediaxml.bigclique.com/go.php?link_id=222bbe5d2d9bfae75a6a06e516f24a46&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Pictures of Kate in the new Vogue swimwear edition on St. Barth", "0.01");
gx_to_list("5", "Refuel Yourself at Jokeroo", "http://www.jokedollars.com/link6.php", "http://grockmediaxml.bigclique.com/go.php?link_id=e52f798ba9e45bf1b798ab4b93103a8b&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Watch some great videos at Jokeroo. com!", "0.01");
gx_to_list("6", "Scarlett Johansson Poster", "http://www.gossipcenter.com/scarlett-johansson-posters", "http://grockmediaxml.bigclique.com/go.php?link_id=434eefe3c32bd42576ff1c928a98afc2&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "New posters of Scarlett Johansson promoting Iron Man 2 premiere", "0.01");
gx_to_list("7", "Spice Girls New Movie", "http://www.celebrity-gossip.net/spice-girls", "http://grockmediaxml.bigclique.com/go.php?link_id=eb8b503f8cb6475d1e7845900d11c38d&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria and the girls are back together celebrating a new movie", "0.01");
gx_to_list("8", "The City Red Carpet Pics", "http://www.gossipcenter.com/the-city", "http://grockmediaxml.bigclique.com/go.php?link_id=008c1803f3f0541b0f260d3fd4b309f8&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Whitney Port and Olivia Palermo at the 7th Annual Spring Dinner Dance", "0.01");
gx_to_list("9", "Whitney &amp; Roxy DKMS Girls", "http://www.gossipcenter.com/city-girls", "http://grockmediaxml.bigclique.com/go.php?link_id=2966aaffae12907a5f2f10942cf691bd&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "The City girls attended the DKMS 4th Annual Gala - Photo Call Pics", "0.01");
gx_to_list("10", "Whitney Port Pictures", "http://www.gossipcenter.com/whitney-port", "http://grockmediaxml.bigclique.com/go.php?link_id=34b4d009bb6cd98ea8d0b15e09eb8829&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Whitney attends the annual event Tulips &amp; Pansies A Headdress Affair", "0.01");


if (gx_use_ext_css) {
	gx_header = '<link rel="stylesheet" href="' + gx_ext_css + '">';
}
else {
	gx_header = '<style>\
.gx_head {\
	font-family:' + gx_head_font + ';\
	font-size:' + gx_head_size + 'px;\
	font-weight:bold;\
	color:' + gx_head_color + ';\
}\
.gx_title {\
	font-family:' + gx_title_font + ';\
	font-size:' + gx_title_size + 'px;\
	color:' + gx_title_color + ';\
	font-weight:bold;\
	text-decoration:underline;\
}\
.gx_descr {\
	font-family:' + gx_descr_font + ';\
	font-size:' + gx_descr_size + 'px;\
	color:' + gx_descr_color + ';\
}\
</style>';
}

gx_header += '<scr' + 'ipt>\
gx_dom = (document.getElementById)? true : false;\
gx_ie4 = (document.all && !gx_dom)? true : false;\
function gx_highlight (gx_object, gx_status) {\
	if (gx_status == 1) gx_color = "' + gx_box_color_hover + '";\
	else gx_color = "' + gx_box_color_normal + '";\
	if (gx_dom) gx_object.bgColor = gx_color;\
	else if (gx_ie4) gx_object.bgColor = gx_color;\
}\
</scr' + 'ipt>\
<table width="' + gx_box_width + '" cellpadding="2" cellspacing="1" bgcolor="' + gx_box_border_color + '" border="0" align="left">\
  <tr>\
	<td class="gx_head">Top keno sites</td>\
  </tr>\
  <tr>\
	<td bgcolor="' + gx_box_color_normal + '">\
      <table width="100%" cellpadding="3" cellspacing="0" bgcolor="' + gx_box_color_normal + '" border="0" align="left">';
gx_footer = '\
		<tr height="10">\
		  <td></td>\
		</tr>\
        <tr>\
		  <td>\
<span class="gx_descr">Hot Sites:</span><br>\
<a class="gx_title" href="http://www.bigclique.com/bcid/advertise.jsp?bcid=3507">See your site here</a><br>\
		  </td>\
		</tr>\
	  </table>\
	</td>\
  </tr>\
</table>';

gx_content_ads_total = 5;
document.write (gx_header);
if (gx_listings != null && gx_listings.length > 0 && gx_content_ads_total > 0)
{
    gx_i=0;
    // Outputting some HTML below feel free to adjust
    for (gx_i = 0; gx_i < gx_listings.length && gx_i < gx_content_ads_total; gx_i++)
    {
      // Adjust the below to make search results layout different 
      document.write();
      document.write('\
	    <tr>\
		  <td onMouseOver="gx_highlight(this,1);" onMouseOut="gx_highlight(this,0);" onClick="window.location=\'' + gx_listings[gx_i].uri + '&type=contentads\';">\
<span class="gx_title">' + gx_listings[gx_i].title + '</span><br>\
<span class="gx_descr">' + gx_listings[gx_i].description + '</span><br>\
		  </td>\
		</tr>');
	}
}
document.write (gx_footer);