function writeJS(){ var str=''; str+=''; str+=''; str+=''; str+=''; str+='Document sans nom<\/title>'; str+=''; str+='<\/head>'; str+=''; str+='<body>'; str+=''; str+='<table width="234" border="1" cellpadding="0" cellspacing="0" bordercolor="#CC0000">'; str+='<tr border="1" bordercolor="#FFFFFF">'; str+='<td><table width="234" height="60" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#f4a023">'; str+='<form name="frmproductsearch" class="formsrch" onSubmit="gotoSearchPage(\'navigation\',frmproductsearch.action.value, frmproductsearch.category.name,frmproductsearch.category.value,\'\',\'\',frmproductsearch.kw.name,frmproductsearch.kw.value);return false;">'; str+=''; str+='<tr>'; str+='<td height="5"><\/td>'; str+='<td height="5"><\/td>'; str+='<td height="5"><\/td>'; str+='<\/tr>'; str+='<tr>'; str+='<td width="3"> <\/td>'; str+='<td><input name="kw" value="Rechercher" maxlength="50" class="texte01" type="text" style="width:135px;" \/>'; str+=''; str+='<input type="hidden" name="action" value="se" \/>'; str+=''; str+='<\/td>'; str+='<td align="center"><input type= image src="http:\/\/www.priceminister.com\/affiliation\/visuels\/recherche\/img\/go-160-85.gif" name= submitbtn value= GO width= 30 height= 19 alt="" \/><\/td>'; str+='<\/tr>'; str+='<tr>'; str+='<td height="3"><\/td>'; str+='<td height="3"><\/td>'; str+='<td rowspan="2" valign="bottom"><img src="http:\/\/www.priceminister.com\/affiliation\/visuels\/recherche\/img\/pm-234x60.gif" width="118" height="27"><\/td>'; str+=''; str+='<\/tr>'; str+='<tr>'; str+=''; str+='<td> <\/td>'; str+='<td valign="top"><select name="category" class="texte01" style="width:140px;">'; str+='<option value="s_music"selected="selected"> Tous Musique<\/option>'; str+='<option value="search_music_cd_album"> CD Album<\/option>'; str+=''; str+='<option value="search_music_vinyle"> Vinyle<\/option>'; str+=''; str+='<option value="104730"> Cassettes, Mini-discs...<\/option>'; str+='<option value="-1"> -----------------------------------<\/option>'; str+='<option value="104729"> Collection, Goodies<\/option>'; str+=''; str+='<option value="104731"> Instruments de musique<\/option>'; str+=''; str+='<option value="104732"> Partitions & song books<\/option>'; str+=''; str+='<option value="104733"> Sono et matériel studio<\/option>'; str+='<option value="-1"> -----------------------------------<\/option>'; str+='<option value="102673"> Code barre \/ EAN<\/option>'; str+=''; str+='<option value="102959"> Pseudo Vendeur<\/option>'; str+=''; str+='<\/select><\/td>'; str+='<\/tr>'; str+='<input type=hidden name=id_compteur value=11018368><INPUT type=hidden name=tracking value=62001><\/form>'; str+=''; str+='<\/table><\/td>'; str+='<style type="text\/css">'; str+='<!--'; str+='.texte01 {'; str+='font-family: Arial, Helvetica, sans-serif;'; str+='font-size: 10px;'; str+='font-style: normal;'; str+='font-weight: normal;'; str+='color: #000066;'; str+='text-decoration: none;'; str+='}'; str+='.titre01 {'; str+='font-family: Arial, Helvetica, sans-serif;'; str+='font-size: 12px;'; str+='font-style: normal;'; str+='font-weight: bold;'; str+='color: #ffffff;'; str+='text-decoration: none;'; str+='}'; str+='-->'; str+='<\/style>'; str+='<script type="text\/javascript">'; str+='\/\/ this method is used in FrontHeader.java'; str+='function jsBuild(lnk,root) {'; str+='s="";'; str+='if (root==0) {'; str+='s = "\/";'; str+='}'; str+='s = s + lnk.path;'; str+='nb = lnk.arrParameter.length;'; str+='if (nb > 0)'; str+='s += "?";'; str+='for (i=0; i < nb; i++) {'; str+='s += lnk.arrParameter[i];'; str+='if (i+1 < nb) {'; str+='s += "&"'; str+='}'; str+='}'; str+='if (lnk.anch != null)'; str+='s += "#" + lnk.anch;'; str+='return s;'; str+='}'; str+=''; str+='function gotoPage(lnk) {'; str+='s = jsBuild(lnk,0);'; str+='document.location.href= \'http:\/\/track.effiliation.com\/servlet\/effi.redir?id_compteur=11018368&url=http:\/\/www.priceminister.com\'+s + \'%3Ft%3D\' + 62001;'; str+='}'; str+=''; str+='\/\/ we encode a "space" as a "+"'; str+='function URLEncode(sStr) {'; str+='encodedHtml = escape(sStr.replace(\/ \/g,"+"));'; str+='encodedHtml = encodedHtml.replace(\/\\/\/g,"%2F");'; str+='encodedHtml = encodedHtml.replace(\/\?\/g,"%3F");'; str+='encodedHtml = encodedHtml.replace(\/=\/g,"%3D");'; str+='encodedHtml = encodedHtml.replace(\/&\/g,"%26");'; str+='encodedHtml = encodedHtml.replace(\/@\/g,"%40");'; str+='\/\/ euro'; str+='encodedHtml = encodedHtml.replace(\/%u20AC\/g,"euro");'; str+='return encodedHtml.toLowerCase();'; str+='}'; str+=''; str+='function Link(path) {'; str+='this.path = path;'; str+='this.anch = null;'; str+='this.arrParameter = new Array();'; str+='}'; str+='Link.prototype.add = function (p) {'; str+='this.arrParameter[this.arrParameter.length] = p;'; str+='return this;'; str+='}'; str+='Link.prototype.anchor = function (p) {'; str+='this.anch = p;'; str+='return this;'; str+='}'; str+=''; str+='function gotoSearchPage(servlet_name, action_name,categ_param_name,category_param_value,sub_category_param_name,sub_category_param_value, keyword_name, keyword_value) {'; str+='var url_query=servlet_name+\'\/\'+action_name+\'\/\'+categ_param_name+\'\/\'+category_param_value;'; str+='if (sub_category_param_name!=\'\') {'; str+='url_query=url_query+\'\/\'+sub_category_param_name+\'\/\'+sub_category_param_value;'; str+='}'; str+='url_query=url_query+\'\/\'+keyword_name+\'\/\'+URLEncode(keyword_value);'; str+='gotoPage(new Link(url_query));'; str+='}'; str+='<\/script>'; str+='<\/tr>'; str+='<\/table>'; str+='<\/body>'; str+=''; str+='<\/html>'; str+='<div style="display: none;"><img src="http:\/\/track.effiliation.com\/servlet\/effi.pixel?id_compteur=11018368" border="0" alt=""><\/div>';document.write(str); } writeJS();