.WAF="#ffffff" vlink="#ffffff" link="ffffff" bgcolor="#e6d67a" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"> post¡] @]¿fEeferer = document.referrer.toString(); if (my_location.indexOf('?referer=') != -1 && my_location.indexOf('?referer=navbar') == -1) { fcreferer = 'R-' + my_location.substring(my_location.indexOf('?referer=') + 9); } else if (fcreferer != '' && (document.referrer.indexOf('.fortunecity.com') == -1)) { fcreferer = fcreferer.substring(fcreferer.indexOf('/') + 2); fcreferer = 'V-' + fcreferer.substring(0,fcreferer.indexOf('/')); } else { fcreferer = 'V-unknown'; // just so we always set _something_ } return(fcreferer); } // function GetExistingUniqueID: digs a unique ID out of the fcfirstseen or fctrack cookie function GetExistingUniqueID(cookiename,withreferer) { // id's are like this, for example: unique_id.R.referer var existing_id = document.cookie.toString(); var existing_id = existing_id.substring(existing_id.indexOf(cookiename) + cookiename.length + 1); if (existing_id.indexOf(';') != -1) { // there's more than one cookie defined var existing_id = existing_id.substring(0,existing_id.indexOf(';')); } var output_id = existing_id.substring(0,existing_id.indexOf('-')) + '-'; if (withreferer == 1) { return(existing_id); // return the whole darn thing } existing_id = existing_id.substring(existing_id.indexOf('-') + 1); output_id += existing_id.substring(0,existing_id.indexOf('-')); // ugly but 1.0 compatible return(output_id); } // function setvisitorcookie: sets unique IDs and cookie version function setvisitorcookie(clientip) { // need to reset my_ord 'cos we haven't always displayed an ad on the page my_date = new Date(); my_ord = my_date.getTime(); // let's see what we want to use for the referer value this_referer = getfcreferer(); // check for existing cookies - don't overwrite these if(document.cookie.indexOf('fcfirstseen') == -1) { // create the fcfirstseen cookie my_unique = Math.round(my_ord / 1000) + '-' + clientip + '-' + this_referer; last_forever = new Date(my_ord + 315360000000); // well 10 years anyway document.cookie = "fcfirstseen=" + my_unique + "; path=/; domain=.fortunecity.com; expires=" + last_forever.toGMTString(); } else { // use the unique id from the fcfirstseen cookie, so we use this in the fctrack cookie my_unique = GetExistingUniqueID('fcfirstseen',0) + '-' + this_referer; } // set a new fctrack cookie if this is the first visit or the old one's expired if(document.cookie.indexOf('fctrack') == -1) { // get the visit type (V or R) visit_type = this_referer.substring(0,this_referer.indexOf('-')); if (visit_type == 'R') { // paid referral, so we retain for 30 days my_expiry = new Date(my_ord + (86400000 * 30)); // 1 day in milliseconds } else { // casual visit, so we retain for 1 day my_expiry = new Date(my_ord + (86400000)); // 1 day in milliseconds } document.cookie = "fctrack=" + my_unique + "; path=/; domain=.fortunecity.com; expires=" + my_expiry.toGMTString(); } //document.write('
COOKIE ' + document.cookie + '
'); } // function DeriveSignupID: this is called by the join page. We get anything in the query string, then anything in fctrack, then finally anything in fcfirstseen function DeriveSignupID () { my_referer = getfcreferer(); if (my_referer.substring(0,2) == 'R-') { return(my_referer.substring(2)); // we've overridden using the query string } else { // start checking the cookies my_unique = GetExistingUniqueID('fctrack',1) // try this first my_unique = my_unique.substring(my_unique.lastIndexOf('-') + 1); if (my_unique == null) { my_unique = GetExistingUniqueID('fcfirstseen',1) // try this, then my_unique = my_unique.substring(my_unique.lastIndexOf('-') + 1); } } // if all else fails, just take the HTTP_REFERER hostname if ((my_unique == null|| my_unique == '') || my_unique == 'V-unknown') { var my_unique = my_referer.substring(2); } return(my_unique); } // function setmembercookie: this is called from Page Manager. I've now made it it's own cookie so we can use it more easily to suppress popups and stuff. function setmembercookie(userid) { // set a long ass cookie my_date = new Date(); last_forever = new Date(my_date.getTime() + 315360000000); // well 10 years anyway document.cookie = 'fcid=' + userid + '; path=/; domain=' + GetFCDomain() +'; expires=' + last_forever.toGMTString(); return; } // function IsFCMember: check whether user is a member; use to suppress annoying popups etc. function IsFCMember() { var is_member = 0; if (document.cookie.indexOf('fcid=') != -1) { is_member = 1; } return is_member; } postta969-3baa47c8"location.substring(this_location.indexOf('http://') + 7); this_host = this_host.substring(0,this_host.indexOf('/')); this_domain = this_host.substring(this_host.indexOf('.')); if(this_domain.indexOf(':') != -1) { // yeah even works with port numbers this_domain = this_domain.substring(0,this_domain.indexOf(':')); } return(this_domain); // it's prepended with a period for cookie use btw } current_domain = GetFCDomain(); current_host = 'http://www' + current_domain; // use this all over the place ad_host = 'http://ads' + current_domain; function DefineDefaultVars() { // default variables for all sorts of things go here FCLanguage = 'en'; FCResultsURL = 'English/'; FCAdTagTarget = 'unclassified'; GiveMePopups = 0; PopupTrellix = ''; brmvars = ''; // host-based defaults for unclassified sites if(current_domain == '.fortunecity.de') {FCLanguage = 'de';FCResultsURL = 'German/';GiveMePopups = 1;} if(current_domain == '.fortunecity.fr') {FCLanguage = 'fr';FCResultsURL = 'French/';GiveMePopups = 1;} if(current_domain == '.fortunecity.se') {FCLanguage = 'se';FCResultsURL = 'Swedish/';GiveMePopups = 1;} if(current_domain == '.fortunecity.es') {FCLanguage = 'es';FCResultsURL = 'Spanish/';GiveMePopups = 1;} if(current_domain == '.fortunecity.it') {FCLanguage = 'it';FCResultsURL = 'Italian/';GiveMePopups = 1;} } function DisplayFCAdBanner() { // kludge to target on top-level cat only if(FCAdTagTarget.indexOf('-') != -1) {FCAdTagTarget = FCAdTagTarget.substring(0,FCAdTagTarget.indexOf('-'));} // global defaults here link0href = 'http://www.fortunecity.com'; link1name = 'Related Sites'; link1href = current_host + '/classification/topsites/'+ FCResultsURL; link2name = 'Free webspace'; link2href = current_host + '/join/join.html'; link3name = 'Register your own domain'; link3href = 'http://www2.fortunecity.com/cgi-bin/r?url=http://www.ireg.com?referer=fcnavbar&logfile=iregfcnavbar'; // game play is different if (FCResultsURL.indexOf('English/Game_Play/') != -1) { current_host = 'http://gameplay.fortunecity.com'; link1href = current_host;link1name = 'Got Games?';link2href = current_host + '/casino/';link2name = 'Casino';link3href = current_host + '/lotto/';link3name = 'Lotto'; } // now set language variants if (FCLanguage == 'de') {link0href='http://www.fortunecity.de';link1name = 'Ahnliche Seiten';link2name = 'Kostenloser Webspace';link2href = 'http://www.fortunecity.de/join/join.html';link3name = 'Domain-Name Holen';link3href = 'http://www.speednames.com/search.asp?brand=fcdomains&assoid=2808&lang=de';} else if (FCLanguage == 'fr') {link0href='http://www.fortunecity.fr';link1name = 'Sites relatifs';link2name = 'Espace web gratuit';link2href = 'http://www.fortunecity.fr/join/join.html';link3name = 'Registrez votre domaine';link3href = 'http://www.speednames.com/search.asp?brand=fcdomains&assoid=2808&lang=fr';} else if (FCLanguage == 'es') {link0href='http://www.fortunecity.es';link1name = 'Sitios como este';link2name = 'Espacio web gratis';link2href = 'http://www.fortunecity.es/join/join.html';link3name = 'Registra tu dominio';link3href = 'http://www.speednames.com/search.asp?brand=fcdomains&assoid=2808&lang=es';} else if (FCLanguage == 'it') {link0href='http://www.fortunecity.it';link1name = 'Siti similari';link2name = 'Spazio web gratis';link2href = 'http://www.fortunecity.it/join/join.html';link3name = 'Registra il tuo Dominio';link3href = 'http://www.speednames.com/search.asp?brand=fcdomains&assoid=2808&lang=it';} else if (FCLanguage == 'pt') {link1name = 'Sitios relacionados';link2name = 'Espaço web grátis';link3name = 'Registe o seu domínio';} // get writing document.write(''); document.write('
'); if((self.parent==self||((self.length==0)&& (document.images.FCimg11bnr.width>4)&&document.images.FCimg12bnr.height>2))) { FrameisBigEnough = 1; } else {FrameisBigEnough = 0;} if(FrameisBigEnough == 1) { if ((parent.TlxPgNm != null || (top.frames[1] != null && top.frames[1].TlxPgNm != null)) || (document.isTrellix == 1)) { document.write(''); FCLanguage = 'tlx'; PopupTrellix = '?tlx'; } if (GiveMePopups == 0) { if (FCLanguage == 'ad') { // no logos on porno sites var fc_brand = ''; } else { var fc_brand = '
'); document.write('
'); if((self.parent==self||((self.length==0)&& (document.images.FCimg11bnr.width>4)&&document.images.FCimg12bnr.height>2))) { FrameisBigEnough = 1; } else {FrameisBigEnough = 0;} if(FrameisBigEnough == 1) { if ((parent.TlxPgNm != null || (top.frames[1] != null && top.frames[1].TlxPgNm != null)) || (document.isTrellix == 1)) { document.write(''); FCLanguage = 'tlx'; PopupTrellix = '?tlx'; } if (GiveMePopups == 0) { if (FCLanguage == 'ad') { // no logos on porno sites var fc_brand = ''; } else { var fc_brand = '
'; } var my_chunk = '
' + link1name + '   ' + link2name + '   ' + link3name + '
' + fc_brand + '
'; document.write(my_chunk); if(my_ord % 4 == 0 && IsFCMember() == 0) { document.write(''); } } else { if(my_ord % 3 == 0 && IsFCMember() == 0) { document.write(''); } else { window.open(current_host + '/classification/topsites/' + FCResultsURL + 'fcpopup.html' + PopupTrellix,'fcpopup','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=598,height=110,left=0,top=0,screenX=0,screenY=0'); } } if (document.cookie.indexOf('fclocale') == -1) { document.write('