﻿<!--
  //Udskrift funktion

var udskrift = false;
var gAutoPrint = true; // Flag for whether or not to automatically call the print function
var str_personid ="";
var str_angaaende ="";

//logo: billedsti - logo_w: bredde paa billedet - logo_h: hoejde paa billedet
function printSpecial(logo,logo_w,logo_h,img,img_w,img_h,copyr){
 
 if (document.getElementById != null){
  var html = '<HTML><HEAD>';

  if (document.getElementsByTagName != null){
   var headTags = document.getElementsByTagName("head");
   if (headTags.length > 0)
    html += headTags[0].innerHTML;
  }
  
  html += '</HE' + 'AD><BODY link="#" vlink="#" alink="#" bgcolor="#FFFFFF">';
  html += '<scr'+'ipt>va'+'r udskrift = tr'+'ue;<\/scr'+'ipt>';
  
  html += '<st'+'yle type="text/css">.mainpad {padding-left: 0px;padding-right: 20px;padding-top: 0px;padding-bottom: 25px}<\/sty'+'le>';
 html += '<st'+'yle type="text/css">.mainartikel {margin-left: 0px;margin-right: 20px;margin-top: 0px;margin-bottom: 25px}<\/sty'+'le>';
  html += '<ta'+'ble cellpadding="0" cellspacing="0" border="0" width="615"><t'+'r><t'+'d><im'+'g src="/media/se//' + logo + '" width="' + logo_w + '" height="' + logo_h + '" alt="" bor'+'der="0"><\/t'+'d>';
    
  if(img){
   html += '<td style="padding-left: 0px;" align="right"><im'+'g src="/media/' + img + '" width="' + img_w + '" height="' + img_h + '" alt="" bor'+'der="0"><\/t'+'d>';
  }
  
  html += '<\/t'+'r><t'+'r><t'+'d height="20"><\/t'+'d><\/t'+'r><\/tab'+'le>';
  html += '<ta'+'ble cellpadding="0" cellspacing="0" border="0" width="615" class="section">';
    
  
  var printReadyElem = document.getElementById("printReady");
  
  if (printReadyElem != null){
   html += printReadyElem.innerHTML;  }
  else{
   alert("Sorry, Could not print this page");
   return;
  }
html += "<tr><td colspan=20 class=section style=font-size:10px><font face=verdana size=1 color=#000000>© Copyright 2006 | Studie & Erhverv | Kratbjerg 201 | DK-3480 Fredensborg | Telefon: 4848 5505 | Fax: 4848 0324 | E-mail: <a href=mailto:se@se.dk>se@se.dk</a><\/font><\/td><\/tr>";
html +="<\/table>";
 html += '<scr'+'ipt language="JavaScript" type="text/javascript">var set_width = document.getElementsByTagName("IMG");var obj ="";for(i=0; i<set_width.length; i++){if(set_width[i].src.indexOf("/setup/1x1.gif") != -1 && set_width[i].id != "omega"){set_width[i].width= "";}}<\/s'+'cript>';

  html += '<\/BO' + 'DY><\/HT' + 'ML>';
 html = html.replace("tilbage.gif", "blank_10x10.gif");
html = html.replace("bestil.gif", "blank_10x10.gif");
html = html.replace("toem_kurv.gif", "blank_10x10.gif");
html = html.replace("godkend_ordre.gif", "blank_10x10.gif");
html = html.replace("videre.gif", "blank_10x10.gif");
var sletKnap = true;

do{
html = html.replace("slet.gif", "blank_10x10.gif");
if(html.indexOf("slet.gif")==-1){
sletKnap = false;
}
}while(sletKnap==true);

  var printWin = window.open("","printSpecial");
  printWin.document.open();
  printWin.document.write(html);
  printWin.document.close();
  
  if (gAutoPrint)
   printWin.print();
 }
 else{
  alert("Sorry, the print ready feature is only available in modern browsers.");
 }
}

//*****************************************Udskriv ordrebekræftelse********************************
  //udskriv funktion

var udskriv = false;
var gAutoSkriv = true; // Flag for whether or not to automatically call the print function
var strPersonId ="";
var strAngaaende ="";

//logo: billedsti - logo_w: bredde paa billedet - logo_h: hoejde paa billedet
function printSpecialOrder(logo,logo_w,logo_h,img,img_w,img_h,copyr){
 
 if (document.getElementById != null){
  var html = '<HTML><HEAD>';

  if (document.getElementsByTagName != null){
   var headTags = document.getElementsByTagName("head");
   if (headTags.length > 0)
    html += headTags[0].innerHTML;
  }
  
  html += '</HE' + 'AD><BODY link="#" vlink="#" alink="#" bgcolor="#FFFFFF">';
  html += '<scr'+'ipt>va'+'r udskriv = tr'+'ue;<\/scr'+'ipt>';
  
  html += '<st'+'yle type="text/css">.mainpad {padding-left: 10px;padding-right: 20px;padding-top: 0px;padding-bottom: 25px}<\/sty'+'le>';
 html += '<st'+'yle type="text/css">.mainartikel {margin-left: 10px;margin-right: 20px;margin-top: 0px;margin-bottom: 25px}<\/sty'+'le>';
  html += '<ta'+'ble cellpadding="0" cellspacing="0" border="0" width="615"><t'+'r><t'+'d><im'+'g src="/media/se//' + logo + '" width="' + logo_w + '" height="' + logo_h + '" alt="" bor'+'der="0"><\/t'+'d>';
    
  if(img){
   html += '<td style="padding-left: 10px;" align="right"><im'+'g src="/media/' + img + '" width="' + img_w + '" height="' + img_h + '" alt="" bor'+'der="0"><\/t'+'d>';
  }
  
  html += '<\/t'+'r><t'+'r><t'+'d height="20"><\/t'+'d><\/t'+'r><\/tab'+'le>';
  html += '<ta'+'ble cellpadding="0" cellspacing="0" border="0" width="615" class="section">';
    
  
  var PrintKlarElem = document.getElementById("PrintKlar");
  
  if (PrintKlarElem != null){
   html += PrintKlarElem.innerHTML;  }
  else{
   alert("Sorry, Could not print this page");
   return;
  }
html += "<tr><td colspan=20 class=section style=font-size:10px><font face=verdana size=1 color=#000000>© Copyright 2006 | Studie & Erhverv | Kratbjerg 201 | DK-3480 Fredensborg | Telefon: 4848 5505 | Fax: 4848 0324 | E-mail: <a href=mailto:se@se.dk>se@se.dk</a><\/font><\/td><\/tr>";
html +="<\/table>";
 html += '<scr'+'ipt language="JavaScript" type="text/javascript">var set_width = document.getElementsByTagName("IMG");var obj ="";for(i=0; i<set_width.length; i++){if(set_width[i].src.indexOf("/setup/1x1.gif") != -1 && set_width[i].id != "omega"){set_width[i].width= "";}}<\/s'+'cript>';

  html += '<\/BO' + 'DY><\/HT' + 'ML>';
  
  var printWin = window.open("","printSpecial");
  printWin.document.open();
  printWin.document.write(html);
  printWin.document.close();
  
  if (gAutoSkriv)
   printWin.print();
 }
 else{
  alert("Sorry, the print ready feature is only available in modern browsers.");
 }
}

 /*Funktion som gør at man kan indsætte link til at vise indkøbskurv i sitelayoutet*/

function ShowBasket() {
URL='/page410.aspx?isbasket=1&pageid=410&listid=-300016';
location.replace (URL);
}

//custom søgning tilføjet BFB Tangora Software 5/2/10
function customSearch(paramSearchWord){
  var theAction='/page1140.aspx?doshow1140=1&searchword1140='+paramSearchWord; 
  document.getElementById('search1140').action= theAction;
}

-->