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

 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", "21 Year Old Bikini Model", "http://www.gossipcenter.com/candice", "http://grockmediaxml.bigclique.com/go.php?link_id=c897d3fef6e29a3f8b4c66c1829c400a&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria's Secret model Candice Swanepoel in a bikini photo shoot", "0.01");
gx_to_list("2", "Beyond The Dow", "http://www.beyondthedow.com/current/news", "http://grockmediaxml.bigclique.com/go.php?link_id=b0253e467bf0450e1340309dcef797cd&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Stay up to date with the latest news in business and finance.", "0.01");
gx_to_list("3", "Gisele Bundchen Seja Sexy", "http://www.gossipcenter.com/gisele-sejaa", "http://grockmediaxml.bigclique.com/go.php?link_id=b9eb30c11aac6533f0f97914f028f7d7&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Tropical photo shoot of Gisele in several different swimsuits poses", "0.01");
gx_to_list("4", "H&amp;M Swimsuit Sex Appeal", "http://www.gossipcenter.com/hm-models", "http://grockmediaxml.bigclique.com/go.php?link_id=4aed3e653cd9a4c6b90030e526677be3&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "H&amp;M Ultimate Summer Collection 2010 Photo shoot of models in bikinis", "0.01");
gx_to_list("5", "Irina Sheik's Sexy New Ad", "http://www.gossipcenter.com/irina-sheik-bikini", "http://grockmediaxml.bigclique.com/go.php?link_id=3ed8a957054958ddfb4a81ebb53a1f94&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "The 24-year-old Russian beauty on the beach for an Armani photoshoot", "0.01");
gx_to_list("6", "JT &amp; Mila On-Set Pictures", "http://www.gossipcenter.com/friends-benefits/", "http://grockmediaxml.bigclique.com/go.php?link_id=09871952024b94797ea45782491cb3d7&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Justin Timberlake and Mila Kunis filming Friends with Benefits", "0.01");
gx_to_list("7", "Miranda Kerr Bikini Pics", "http://www.gossipcenter.com/miranda-bikini", "http://grockmediaxml.bigclique.com/go.php?link_id=9cb8b27758e8e8120f71ace2589f812c&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Mirands poses in a new photo shoot showing off different bikins poses", "0.01");
gx_to_list("8", "Refuel Yourself at Jokeroo", "http://www.jokedollars.com/link6.php", "http://grockmediaxml.bigclique.com/go.php?link_id=f68e083eb474b06e648a71c988d15007&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Watch some great videos at Jokeroo. com!", "0.01");
gx_to_list("9", "Sex &amp; the City 2 Trailer", "http://www.gossipcenter.com/sex-and-city", "http://grockmediaxml.bigclique.com/go.php?link_id=b8c27b14e24e40ccca29415d641a6431&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "New trailer for the upcoming new movie premiere of Sex &amp; The City 2", "0.01");
gx_to_list("10", "Watch Online Videos or Play Games", "http://www.jokedollars.com/link4.php", "http://grockmediaxml.bigclique.com/go.php?link_id=bc32db60e3d04caefeea6c25a8734bf6&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Interested in watching the top online videos or playing the most addictive games? This is definitely where you should do it!", "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 bookie 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);