function parameter(bgimage,katpara1,katpara2,katpara3,bgfarbe,bgfarbe1,ftfarbe,titel,pfont){
//bildurl = "http://ad.jamba.de/landingpages/generator/generator/img/";
bildurl = "http://ad.jamster.com/landingpages/generator/generator/img/";
generatorURL = "http://ad.jamster.com/landingpages/generator/generator/";
imagevar = bildurl+bgimage;
katarray1 = katpara1.split("+");
katarray2 = katpara2.split("+");
katarray3 = katpara3.split("+");
katurl1 = katarray1[0];
theurl1 = katarray1[1];
katurl2 = katarray2[0];
theurl2 = katarray2[1];
katurl3 = katarray3[0];
theurl3 = katarray3[1];
bgcolor = bgfarbe;
bgcolor1 = bgfarbe1;
ftcolor = ftfarbe;
titelj = titel;
videoarray = pfont.split("+");
if(videoarray[1]!=undefined){
video = 1;
videofile = videoarray[1];
}
if(videoarray[0]!=undefined){
handy = videoarray[0];
}
backimg = bgimage;
}

function page_content(link_target){
backimg = bildurl+backimg;
frameback = backimg.replace(/.jpg/,"_frame.jpg");
document.writeln('<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">');
document.writeln('<html xmlns=\"http://www.w3.org/1999/xhtml\">');
document.writeln('<head>');
document.writeln('<title>'+titelj+' - Downloads for your Phone</title>');
document.writeln('<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />');
document.writeln('<meta http-equiv=\"imagetoolbar\" content=\"no\" />');
document.writeln('<sc'+'ript src=\"http://ad.jamba.net/js/ad_affiliate.js\" type=\"text/javascript\"></sc'+'ript>');
document.writeln('<sc'+'ript src=\"'+generatorURL+'js/adTrackableFlash_gen.js\" type=\"text/javascript\"></sc'+'ript>');
document.writeln('<sc'+'ript type=\"text/javascript\" language=\"JavaScript\">');
document.writeln('<!--');
document.writeln('actionlink = \"'+link_target+'\";');
document.writeln('function searcher(PNO,DOCID,PARENTID,CONTENTTYPE,AFFPAR){');
document.writeln('var flaInit = document.getElementById(\"flashInit\").value');
document.writeln('var prod_dat=\"pno_\"+PNO+\"|doc_\"+DOCID+\"|parentId_\"+PARENTID+\"|contentType_\"+CONTENTTYPE;');
document.writeln('var val = \"'+generatorURL+'frame_content.html?action=\"+actionlink+\"&product_data=\"+prod_dat+\"&flashInit=\"+flaInit;');
document.writeln('document.getElementById(\"orderFlow\").setAttribute(\"src\", val, 0);');
document.writeln('}');
document.writeln('affFor = false;');
document.writeln('//-->');
document.writeln('</sc'+'ript>');
document.writeln('<sc'+'ript language=\"JavaScript\" type=\"text/javascript\">');
document.writeln('<!--');
document.writeln('function MM_reloadPage(init) {  //reloads the window if Nav4 resized');
document.writeln('  if (init==true) with (navigator) {if ((appName==\"Netscape\")&&(parseInt(appVersion)==4)) {');
document.writeln('    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}');
document.writeln('  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();');
document.writeln('}');
document.writeln('MM_reloadPage(true);');
document.writeln('//-->');
document.writeln('</sc'+'ript>');
document.writeln('<style type=\"text/css\">');
document.writeln('<!--');
document.writeln('.text {');
document.writeln('	font-family: Arial, Helvetica, sans-serif;');
document.writeln('	font-size: 11px;');
document.writeln('	color: #666666;');
document.writeln('		');
document.writeln('		');
document.writeln('		width:795px;');
document.writeln('}');
document.writeln('-->');
document.writeln('</style>');
document.writeln('</head>');
document.writeln('<body style=\"margin:0px; padding:0px; text-align:left; \" onload=\"checkFlash(\'http://ad.jamster.com/landingpages/generator/generator/swf/general_1.swf\',\'img/flash_445x305_en_alt.gif\',\'_blank\',349,377,\'flash\',\'affiliateParameter\', \'http://www.jamster.com/generated/dew/html/affiliate/index_static.html\'); checkFlash(\'http://ad.jamster.com/landingpages/generator/generator/swf/titeltxt.swf\',\'http://ad.jamster.com/landingpages/campaigns/bild_de/partykracher/js_version/img/flash_445x305_en_alt.gif\',\'_blank\',740,45,\'flash1\',\'affiliateParameter\', \'http://www.jamster.com/generated/dew/html/affiliate/index_static.html\'); checkFlash(\'http://ad.jamster.com/landingpages/generator/generator/swf/handy.swf\',\'http://ad.jamster.com/landingpages/campaigns/bild_de/partykracher/js_version/img/flash_445x305_en_alt.gif\',\'_blank\',237,168,\'flash2\',\'affiliateParameter\', \'http://www.jamster.com/generated/dew/html/affiliate/index_static.html\');\">');
document.writeln('<table border=\"0\" cellpadding="0" cellspacing="0" style="line-height:1em; height:750px; width:800px; background-image: url('+backimg+'); background-repeat: no-repeat;" align="center" class="tbbody" >');
document.writeln('<tr><td style="height:82px; width: 800px;" colspan=\"3\" align=\"center\"><div id=\"flash1\"></div></td></tr>');
document.writeln('  <tr>');
document.writeln('  <td width=\"76\" style=\"width:76px;\">&nbsp;</td><td width=\"366\" align=\"left\" valign=\"top\" id=\"flash\" style=\"margin:0px; padding:0px; height:360px;\"><noscript>');
document.writeln('  <a href=\"http://www.jamster.com\" target=\"_blank\"><img src=\"img/flash_520x300_en_nojs.gif\" alt=\"no javascript\" width=\"349\" height=\"377\" border=\"0\" /></a>');
document.writeln('  </noscript></td>');
document.writeln('  <td valign=\"top\" width=\"358px\" align=\"left\"><div style=\"padding-top: 0px; padding-left: 0px;\"><iframe id=\"orderFlow\" frameborder=\"0\" scrolling=\"no\" src=\"'+generatorURL+'frame_content.html\" style=\"margin:0px; padding:0px; padding-left: 0; width:278px; height:211px; background-image: url('+frameback+')\"></iframe></div><div id=\"flash2\" style=\"padding-left: 30px; position: absolute; \"></div></td>');
document.writeln('    </tr><tr>');
document.writeln('    <td class=\"text\" colspan=\"3\" align=\"center\" valign=\"top\" style=\"height:350px;\"><div style=\"color:#000000; width: 590px; padding-top: 35px;\">');
document.writeln('  *Get this content now as part of the Jamster Monthly XXL Subscription Plan for just <b>$9.99 per month**</b>. By entering your mobile phone number and submitting the pin code sent to your mobile you are agreeing to join the Jamster Monthly XXL Subscription Plan for just <b>$9.99 per month</b>,');
document.writeln('  featuring credits for 6 ringtones, 10 graphics & 4 games/apps ( games/apps are not available for T-Mobile & Verizon Wireless customers) each month. Normal carrier messaging & data charges apply and a carrier data plan is required. All charges will be reflected on your wireless bill.');
document.writeln('  To cancel plan send "<b>stop</b>" text message to 75555. You must be 18 years old to sign up. Individuals between the ages of 13-18 must have parental consent and their parents must sign up on their behalf. Questions? Call customer care at 866-856-JAMS or send email to <a href=\"mailto:info@jamster.com\" target=\"_blank\" style=\"color:black;\">info@jamster.com</a>.<br/><br/>');
document.writeln('  **Virgin Mobile USA, Dobson Cellular, Cellular One and Cincinnati Bell will instead get this content now as part of the Jamster Monthly Value Plan subscription for just <b>$5.99 per month</b>, which features: credits for 2 ringtones, 3 graphics & 1 games/apps');
document.writeln('  (games/apps are not available for Virgin Mobile US) each month. All additional terms listed above shall apply.');
document.writeln('  </td>');
document.writeln('  </tr></table>');
document.writeln('<input name=\"flashInit\" id=\"flashInit\" type=\"hidden\" value=\"false\" />');
document.writeln('<sc'+'ript type=\"text/javascript\">');
document.writeln('//<![CDATA[\n');
document.writeln('affiliateFormat();');
document.writeln('');
document.writeln('//]]>');
document.writeln('</sc'+'ript>');
document.writeln('</body>');
document.writeln('</html>');
}


