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

 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", "AnnaLynne &amp;Carmen Electra", "http://www.celebrity-gossip.net/neil-lane-bridal-collection-...", "http://grockmediaxml.bigclique.com/go.php?link_id=d9550de68ab62984ff9ae7a852f9df20&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Red carpet pictures of AnnaLynne McCord at bridal collection party", "0.01");
gx_to_list("2", "Doutzen Kroes Top Model", "http://www.celebrity-gossip.net/shakira", "http://grockmediaxml.bigclique.com/go.php?link_id=fd29fc9b248a0a0fb82be46033c611ee&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Victoria's Secret model Doutzen Kroes in a swimwear photo shoot", "0.01");
gx_to_list("3", "Get Smarter Instantly!", "http://www.brainies.com", "http://grockmediaxml.bigclique.com/go.php?link_id=f534a63f23b1153c6b84aacd86edac5c&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Play fun games that increase your intelligence! Get smarter today!", "0.01");
gx_to_list("4", "Improve your Life!", "http://www.learneredge.com", "http://grockmediaxml.bigclique.com/go.php?link_id=35bbf3aa412b820985feaf28b7d82291&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Get the job of your dreams. Earn a degree online! Start today!", "0.01");
gx_to_list("5", "Miley Cyrus Bikini Babe", "http://www.celebrity-gossip.net/miley-cyrus", "http://grockmediaxml.bigclique.com/go.php?link_id=39d848c78026ec15f666a8b65aee76ed&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Pictures of Miley playing on the beaches of Mexico in a red bikini", "0.01");
gx_to_list("6", "Shakira Pink Photo Shoot", "http://www.celebrity-gossip.net/shakira/", "http://grockmediaxml.bigclique.com/go.php?link_id=09c2612d03bb18267918661bf2d7a196&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Pop singer Shakira shows off in a stunning pink dress for the cameras", "0.01");
gx_to_list("7", "The City Red Carpet Pics", "http://www.gossipcenter.com/the-city", "http://grockmediaxml.bigclique.com/go.php?link_id=1e6ad59a225fe7059f215228d22fd131&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Whitney Port and Olivia Palermo at the 7th Annual Spring Dinner Dance", "0.01");
gx_to_list("8", "VBS.tv", "http://www.vbs.tv", "http://grockmediaxml.bigclique.com/go.php?link_id=b1b8b48acd999644d141c5480bdfb9d9&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "Free original TV content Online 24/7", "0.01");
gx_to_list("9", "Victoria's Secret Party", "http://www.celebrity-gossip.net/victorias-secret", "http://grockmediaxml.bigclique.com/go.php?link_id=d29b39126d009f0346f8937c106b37d1&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "VC Angels &amp; Models show the latest looks and their killer bodies", "0.01");
gx_to_list("10", "Whitney &amp; Roxy DKMS Girls", "http://www.gossipcenter.com/city-girls", "http://grockmediaxml.bigclique.com/go.php?link_id=8bbff071d7c92fe8dc04afc1a112c180&amp;aff_id=3507&amp;sid=fiq89t8uak043964n70k638874", "The City girls attended the DKMS 4th Annual Gala - Photo Call Pics", "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 chips suppliers 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);