/*
* AdPerf Publisher - Weborama.com
* Last update : 2009-04-22
*/
function wr_aff_pub(n, l, h) {
if (typeof l == 'undefined') l=1; if (typeof h == 'undefined') h=1;
document.write('
');
}
function _ap_defined(name) {
return ( typeof(window[name]) == "undefined" ) ? false : true;
}
var _ap_ad = new Object;
var wr_secure = '';
var wr_solutions = 'solution.weborama.fr/fcgi-bin/diff.fcgi?';
_ap_ad.write = function(src) {
document.write('');
}
_ap_ad.host = ( _ap_defined('wr_host') ) ? wr_host : 'aimfar';
_ap_ad.board = ( _ap_defined('wr_board') ) ? 'ide='+wr_board : null;
_ap_ad.boardsize = ( _ap_defined('wr_boardsize') ) ? 'emp='+wr_boardsize : 'emp=1x1';
_ap_ad.autopage = ( _ap_defined('wr_detail') ) ? 'kp='+wr_detail : null;
_ap_ad.floating = ( _ap_defined('wr_floating') ) ? 'floating='+wr_floating : 'floating=0';
_ap_ad.site = ( _ap_defined('wr_site') ) ? 'ids='+wr_site : null;
_ap_ad.page = ( _ap_defined('wr_page') ) ? 'pageid='+wr_page : null;
_ap_ad.extparams = ( _ap_defined('wr_extparams') ) ? 'ext_params='+escape(wr_extparams) : null;
_ap_ad.crealist = ( _ap_defined('wr_crealist') ) ? 'cl='+wr_crealist : null;
_ap_ad.advlist = ( _ap_defined('wr_advlist') ) ? 'al='+wr_advlist: null;
_ap_ad.camplist = ( _ap_defined('wr_camplist') ) ? 'cal='+wr_camplist : null;
_ap_ad.model = ( _ap_defined('wr_model') ) ? 'model='+wr_model : null;
_ap_ad.thema = ( _ap_defined('wr_thema') ) ? 'wthema='+wr_thema : null;
_ap_ad.click = ( _ap_defined('wr_click') ) ? 'ext_click='+escape(wr_click) : null;
_ap_ad.ex_secteurs = ( _ap_defined('wr_ex_secteurs' )) ? 'nsa='+escape(wr_ex_secteurs) : null;
_ap_ad.backup = ( _ap_defined('wr_backup' )) ? 'bak='+escape(wr_backup) : null;
_ap_ad.cache = ( _ap_defined('wr_cache' )) ? 'cache='+wr_cache : null;
_ap_ad.ref = null;
_ap_ad.url = null;
try {
_ap_ad.url='url='+escape(document.location);
var ref = (top!=null && top.location!=null && typeof(top.location.href)=="string")?top.document.referrer:document.referrer;
_ap_ad.ref='ref='+escape(ref);
} catch (e) {}
_ap_adlist = [ 'site', 'page', 'boardsize', 'autopage', 'board', 'crealist',
'advlist', 'camplist', 'model', 'thema', 'floating', 'extparams', 'ref', 'url', 'click',
'ex_secteurs', 'backup', 'cache'
];
var _ap_script = 'http' + wr_secure + '://' + _ap_ad.host + '.' + wr_solutions;
var _ap_first = true;
for ( var k in _ap_adlist ) {
var key = _ap_adlist[k];
if ( 'undefined' != typeof(_ap_ad[key]) && _ap_ad[key] != null ) {
_ap_script += (_ap_first ? '' : '&') + _ap_ad[key];
_ap_first = false;
}
}
_ap_ad.write(_ap_script);