/* die variablen
    startpage
    mengeStr
    fields
    auflage_min
   sind im kalkulieren-template definiert
*/
function getIframeLink() {

 var linkstr = startpage;
    
/*  linkstr += '&pg=produktansehen';
  linkstr += '&produkt='    + document.calcform.produkt.value;
  linkstr += '&product_id=' + document.calcform.product_id.value;
  linkstr += '&modus=inline';
  linkstr += '&auflage_min=' + document.calcform.auflage_min.value;
  linkstr += '&auflage_max=' + document.calcform.auflage_max.value;
  
  for(i=0; i<fields.length; i++){
    linkstr += '&' + fields[i] + '='  + eval('document.calcform.' + fields[i] + '.value');
  }
  
  // Auflage ist für Factsheet egal, wird aber vom script erwartet
  // -> wenn keine Menge bei factsheet angegeben wurde, wird für check der wert 100 gesetzt
	if(document.calcform.auflage.value == "" || document.calcform.auflage.value == mengeStr) {
	  var dummy = true;
 	  document.calcform.auflage.value = auflage_min; 
 	}
 	
 	linkstr += '&auflage=' + document.calcform.auflage.value;
	
	//wenn wert für menge durch dieses script gesetzt wurde, wird dieser wieder zurückgesetzt
  if(dummy){
 		document.calcform.auflage.value = mengeStr; 
  }
 	
 	versandauswahl = getMenuValue('versandauswahl');
  if(versandauswahl!=0) { document.calcform.versand.value = versandauswahl; }	
*/
if(document.getElementById('format').value == '10') {
  factsheetframe.location.href = 'include/1.htm';
  }
if(document.getElementById('format').value == '20') {
  factsheetframe.location.href = 'include/2.htm';
  }
if(document.getElementById('format').value == '30') {
  factsheetframe.location.href = 'include/3.htm';
  }  
if(document.getElementById('format').value == '40') {
  factsheetframe.location.href = 'include/4.htm';
  }   
if(document.getElementById('format').value == '50') {
  factsheetframe.location.href = 'include/5.htm';
  }   
if(document.getElementById('format').value == '60') {
  factsheetframe.location.href = 'include/6.htm';
  }   
if(document.getElementById('format').value == '70') {
  factsheetframe.location.href = 'include/7.htm';
  }   
if(document.getElementById('format').value == '80') {
  factsheetframe.location.href = 'include/8.htm';
  }   
if(document.getElementById('format').value == '90') {
  factsheetframe.location.href = 'include/9.htm';
  }  
if(document.getElementById('format').value == '100') {
  factsheetframe.location.href = 'include/10.htm';
  } 
 
  
}