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

 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=075e5360fb31c4c6fb6a2821c0e646f6&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria's Secret model Candice Swanepoel in a bikini photo shoot", "0.01");
gx_to_list("2", "AnnaLynne &amp;Carmen Electra", "http://www.celebrity-gossip.net/neil-lane-bridal-collection-...", "http://grockmediaxml.bigclique.com/go.php?link_id=665394ae3e2058806c9fda9f8e8c19cc&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Red carpet pictures of AnnaLynne McCord at bridal collection party", "0.01");
gx_to_list("3", "Beyond The Dow", "http://www.beyondthedow.com/current/news", "http://grockmediaxml.bigclique.com/go.php?link_id=2c0d987faaeb9f956f4efc49df00e316&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Stay up to date with the latest news in business and finance.", "0.01");
gx_to_list("4", "Discover The Advantage!", "http://www.edumarkets.com", "http://grockmediaxml.bigclique.com/go.php?link_id=9624c843204ee96a83949c70d6879f87&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Change your life by continuing your education. Start today!", "0.01");
gx_to_list("5", "Doutzen Kroes Top Model", "http://www.celebrity-gossip.net/shakira", "http://grockmediaxml.bigclique.com/go.php?link_id=d3963020ff97a6a023ca23b5f1438a70&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria's Secret model Doutzen Kroes in a swimwear photo shoot", "0.01");
gx_to_list("6", "Glee Gets Season 3", "http://www.celebrity-gossip.net/glee", "http://grockmediaxml.bigclique.com/go.php?link_id=436c6c2fe8419594baf96b8c3f87dcde&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "FOX's hit new show has been renewed for 2 more seasons - Cast Pictures", "0.01");
gx_to_list("7", "H&amp;M Swimsuit Sex Appeal", "http://www.gossipcenter.com/hm-models", "http://grockmediaxml.bigclique.com/go.php?link_id=6714a356575e6637844536694f2ab9a4&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("8", "Scarlett Johansson Mango", "http://www.celebrity-gossip.net/scarlett-johansson", "http://grockmediaxml.bigclique.com/go.php?link_id=17eb60c62e88a8bf5f20204201613fb8&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Sultry pictures of Scarlett showing off her bedroom eyes", "0.01");
gx_to_list("9", "Sophie Monk Bikini Pics", "http://www.gossipcenter.com/sophie-monk-bikini", "http://grockmediaxml.bigclique.com/go.php?link_id=db777e1198de80a7d384dcdda3a88dc9&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Sophie spent Easter poolside in Los Cabos in a grey two-piece bikini", "0.01");
gx_to_list("10", "Spice Girls New Movie", "http://www.celebrity-gossip.net/spice-girls", "http://grockmediaxml.bigclique.com/go.php?link_id=7443f0e22d0dbb6194cdea8fa5518489&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria and the girls are back together celebrating a new movie", "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 roulette 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);