var szCust;
var szLang;
var szUID;
var bBMarks;
var ulUserStatus;
var bUIDIsStatic;
var bHasFullwidth = 0;
var bIsContactForm = 0;
var bHasSubmenu = 0;
var 	szCatalogue = "";
var	szB2BServer = "";
var	szB2BSID = "";
var	szB2BFlags = "";
var	szB2BKStelle = "";
var	szB2BKStelleAllowed = "";
var	szB2BMail = "";
var	szB2BMode = "";
var	szB2BLang = "";
/************************************************************************/
function StrTrim(inputField){
value = inputField.value;
while (value.charAt(value.length-1) == " ") {value = value.substring(0,value.length-1);}
while(value.substring(0,1) ==" ") {value = value.substring(1,value.length);}
inputField.value = value;}
function Encode(inputField){
oldValue = inputField.value;
nLen = oldValue.length;
currDate = new Date();
nTime = currDate.getMilliseconds();
nSecs = currDate.getSeconds();
nOfs = 2+(nTime % 5);
newValue = String.fromCharCode(122-nOfs) + "X" + String.fromCharCode(90-nLen);
for (var j=0; j < nOfs; j++) {
newValue = newValue + String.fromCharCode(65 + (32*(j % 2)) + ((j+nSecs) % 7) + ((j*nTime) % 13));}
for (var i=0; i < nLen; i++) {
nCode = (oldValue.charCodeAt(i) % 256);
newValue = newValue + String.fromCharCode(66 + (nCode / 22), 99 + (nCode % 22));}
inputField.value = newValue +  "r" + String.fromCharCode(48+(nTime / 64), 48+(nTime % 64), 48+(nLen % 80));}
function ValidateLogin(pszLang){
if (document.LoginData) {
StrTrim(document.LoginData.CUSTCODE);
StrTrim(document.LoginData.USERNAME);
StrTrim(document.LoginData.USERPASS);
if (document.LoginData.USERNAME.value.length <= 0) {
window.alert("Kein Anmeldename eingegeben!");
return(false);}
if (document.LoginData.USERPASS.value.length <= 0) {
window.alert("Kein Passwort eingegeben!");
return(false);}
Encode(document.LoginData.USERPASS);}
return(true);}
function ValidateCreate(pszUID, pszLang){
if (document.LoginData.USERNAME.value.length <= 0) {
window.alert("Kein Anmeldename eingegeben!");
return(false);}
window.location.href = "USER.html?UID=" + pszUID + "&NICKNAME=" + document.LoginData.USERNAME.value;
return(true);}
function OutputLoginFrameContent(pszText){}
function OutputURL(pszURL, pszText, pszTip){
document.write("<A  class='TextURL' HREF='"+pszURL+"?Lang="+szLang+"&Cust="+szCust+"&UID="+szUID+"' Alt='"+pszTip+"'>"+pszText+"</A>");}
function OutputShopURL(pszURL, pszText, pszTip){
document.write("<A  class='TextURL' HREF='"+pszURL+"?Lang="+szLang+"&Cust="+szCust+"&UID="+szUID+"&AuthHost=www.buddberg.de' Alt='"+pszTip+"'>"+pszText+"</A>");}
function _OutputMoreURL(pszURL, pszText, pszTip){
document.write("<TD class='MoreURL'><A HREF='"+pszURL+"?Lang="+szLang+"&Cust="+szCust+"&UID="+szUID+"' Alt='"+pszTip+"'>"+pszText+"&nbsp;&gt;</A></TD>");}
var requiredMajorVersion = 10;
var requiredMinorVersion = 0;
var requiredRevision = 2;
function OutputHeadGrafik(){
var szURL = window.location.href.toLowerCase();
if (szURL.length > 1) {
if (szURL.indexOf('shop.buddeberg') > 0) {
document.write("<IMG SRC='http://www.buddeberg.de/images/head_shop.jpg'>");
bHasFullwidth = 1;}
else if (szURL.indexOf('plr.buddeberg') > 0) {
document.write("<IMG SRC='http://www.buddeberg.de/images/head_fertigung.jpg'>");
bHasFullwidth = 1;}
else if (szURL.indexOf('service') > 0)		document.write("<IMG SRC='http://www.buddeberg.de/images/head_aktionen.jpg'>");
else if (szURL.indexOf('download1.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_download.jpg'>");
else if (szURL.indexOf('download2.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_download.jpg'>");
else if (szURL.indexOf('download3.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_download.jpg'>");
else if (szURL.indexOf('plr1.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_fertigung.jpg'>");
else if (szURL.indexOf('plr2.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_fertigung.jpg'>");
else if (szURL.indexOf('plr3.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_fertigung.jpg'>");
else if (szURL.indexOf('historie.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_historie.jpg'>");
else if (szURL.indexOf('kontakt.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_kontakt.jpg'>");
else if ((szURL.indexOf('contact.htm') > 0) || (szURL.indexOf('_contact_save.htm') > 0)) {
document.write("<IMG SRC='http://www.buddeberg.de/images/head_kontakt.jpg'>");
bIsContactForm = 1;}
else if (szURL.indexOf('mitarbeiter.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_mitarbeiter.jpg'>");
else if (szURL.indexOf('jobs.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_mitarbeiter.jpg'>");
else if (szURL.indexOf('aktionen') > 0)		document.write("<IMG SRC='http://www.buddeberg.de/images/head_news.jpg'>");
else if (szURL.indexOf('news1.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_news.jpg'>");
else if (szURL.indexOf('news2.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_news.jpg'>");
else if (szURL.indexOf('messe.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_news.jpg'>");
else if (szURL.indexOf('nachlese.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_news.jpg'>");
else if (szURL.indexOf('partner.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_partner.jpg'>");
else if (szURL.indexOf('service.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_service.jpg'>");
else if (szURL.indexOf('ueberuns.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_ueberuns.jpg'>");
else if (szURL.indexOf('zertifikate.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_zertifikat.jpg'>");
else if (szURL.indexOf('agb.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_agb.jpg'>");
else if (szURL.indexOf('impressum.htm') > 0)
document.write("<IMG SRC='http://www.buddeberg.de/images/head_impressum.jpg'>");
else {
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {
var szSWFName;
var szMovieName;
if ((szLang) && (szLang == "UK")) {
document.write("<div class='TopAnimationEN'>");
szSWFName = "http://www.buddeberg.de/images/home/EN/Home.swf";
szMovieName = "http://www.buddeberg.de/images/home/EN/Home";}
else {
document.write("<div class='TopAnimationDE'>");
szSWFName = "http://www.buddeberg.de/images/home/DE/Home.swf";
szMovieName = "http://www.buddeberg.de/images/home/DE/Home";}
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,2,0',
'width', '970',
'height', '194',
'src', szSWFName,
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'name', 'Home',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', szMovieName,
'salign', ''
);}
document.write("</div>");
}}}
var ulMainArea = 0;
var ulSubArea = 0;
function SetDocumentArea(_ulMain, _ulSub){
ulMainArea = _ulMain;
ulSubArea = _ulSub;}
function CalcDocumentArea(){
var szURL = window.location.href.toLowerCase();
if (szURL.length > 1) {
if (szURL.indexOf('shop.buddeberg') > 0) {
SetDocumentArea(4, 0);}
else if (szURL.indexOf('plr.buddeberg') > 0) {
SetDocumentArea(5, 3);}
else if (szURL.indexOf('service1.htm') > 0)	{
SetDocumentArea(6, 1);}
else if (szURL.indexOf('service2.htm') > 0)	{
SetDocumentArea(6, 2);}
else if (szURL.indexOf('aktionen1.htm') > 0)	{ 	SetDocumentArea(3, 1);}
else if (szURL.indexOf('aktionen2.htm') > 0)	{ 	SetDocumentArea(3, 2);}
else if (szURL.indexOf('aktionen3.htm') > 0)	{ 	SetDocumentArea(3, 3);}
else if (szURL.indexOf('news2.htm') > 0){
SetDocumentArea(3, 6);}
else if (szURL.indexOf('aktionen7.htm') > 0)	{ 	SetDocumentArea(3, 7);}
else if (szURL.indexOf('messe.htm') > 0) {
SetDocumentArea(3, 8);}
else if (szURL.indexOf('nachlese.htm') > 0) {		SetDocumentArea(3, 8);}
else if (szURL.indexOf('aktionen6.htm') > 0)	{ 	SetDocumentArea(3, 9);}
else if (szURL.indexOf('aktionen8.htm') > 0)	{ 	SetDocumentArea(3, 10);}
else if (szURL.indexOf('download1.htm') > 0) {
SetDocumentArea(9, 1);}
else if (szURL.indexOf('download2.htm') > 0) {
SetDocumentArea(9, 2);}
else if (szURL.indexOf('download3.htm') > 0) {
SetDocumentArea(9, 3);}
else if (szURL.indexOf('plr1.htm') > 0) {
SetDocumentArea(5, 1);}
else if (szURL.indexOf('plr2.htm') > 0) {
SetDocumentArea(5, 2);}
else if (szURL.indexOf('plr3.htm') > 0) {
SetDocumentArea(5, 3);}
else if (szURL.indexOf('historie.htm') > 0) {
SetDocumentArea(2, 2);}
else if (szURL.indexOf('kontakt.htm') > 0) {
SetDocumentArea(7, 0);}
else if (szURL.indexOf('contact.htm') > 0) {
SetDocumentArea(7, 0);}
else if (szURL.indexOf('_contact_save.htm') > 0) {
SetDocumentArea(7, 0);}
else if (szURL.indexOf('mitarbeiter.htm') > 0) {
SetDocumentArea(2, 4);}
else if (szURL.indexOf('partner.htm') > 0) {
SetDocumentArea(8, 0);}
else if (szURL.indexOf('service.htm') > 0) {
SetDocumentArea(2, 3);}
else if (szURL.indexOf('ueberuns.htm') > 0) {
SetDocumentArea(2, 1);}
else if (szURL.indexOf('zertifikate.htm') > 0) {
SetDocumentArea(2, 5);}
else if (szURL.indexOf('jobs.htm') > 0) {
SetDocumentArea(2, 6);}
else if (szURL.indexOf('agb.htm') > 0) {
SetDocumentArea(0, 0);}
else if (szURL.indexOf('impressum.htm') > 0) {
SetDocumentArea(0, 0);}
else {}}}
function OutputMenuEntry(ulMode, pszURL, ulArea, pszDescDE, pszDescEN){
if (ulMainArea == ulArea) {
if (ulMode == 1)
document.write("<TD class='NavEntryEnd'>");
else
document.write("<TD class='NavEntry'>");}
else {
if (ulMode == 1)
document.write("<TD class='NavEntryEnd'>");
else
document.write("<TD class='NavEntry'>");}
document.write("<a href='"+pszURL+"'>");
if (ulMainArea == ulArea)
document.write("<div class='NavEntryMark'>");
if ((szLang) && (szLang == "UK")) {
document.write(pszDescEN);}
else {
document.write(pszDescDE);}
if (ulMainArea == ulArea)
document.write("</div>");
document.write("</a></TD>");}
function OutputHeader(pszHeader, pszUID, bUIDStatic, _bBMarks, _ulUserStatus, pszLang, pszCust){
var nOfs = document.location.href.length;
var nEnd = document.location.href.length;
bHasSubmenu = 0;
bHasFullwidth = 0;
bIsContactForm = 0;
while ((nOfs > 0) && (document.location.href.charAt(nOfs) != "/"))
nOfs--;
if (document.location.href.indexOf("?") > nOfs)
nEnd = document.location.href.indexOf("?");
szLang = pszLang;
szCust = pszCust;
if (szCust == "")
szCust = ".";
szUID = pszUID;
bBMarks = _bBMarks;
ulUserStatus = _ulUserStatus;
bUIDIsStatic = bUIDStatic;
document.write("<table cellpadding=0 cellspacing=0>");
document.write("<tr>");
document.write("<td>");
document.write("<div id='SuppLogo'>");		document.write("<a href='http://www.buddeberg.de/"+pszLang+"/default.htm?UID="+pszUID+"'>");
document.write("<img src='http://www.buddeberg.de/images/logo.jpg' border=0>");
document.write("</a>");
document.write("</div>");		document.write("</td>");
document.write("<td>");
document.write("<div id='CustLogo'>");
if ((szCust) && (szCust.toUpperCase() == "BKLU")) {
document.write("<IMG SRC='http://shop.buddeberg.de/cust/budde/bklu/bklogo.jpg'>");}
document.write("</div>");
document.write("</td>");
document.write("<td>");
document.write("<table>");
document.write("<tr><td align='right'>");
document.write("<div id='TopLinks'>");		document.write("<TABLE><TR>");
document.write("<TD>");
document.write("<A HREF='http://www.buddeberg.de/"+szLang+"/impressum.htm?UID="+szUID+"'>");
if ((szLang) && (szLang == "DE"))
document.write("Impressum");
else
document.write("Imprint");
document.write("</A>");
document.write("</TD>");
document.write("<TD>");
document.write("<A HREF='http://www.buddeberg.de/"+szLang+"/agb.htm?UID="+szUID+"'>");
if ((szLang) && (szLang == "DE"))
document.write("AGB");
else
document.write("Terms and Conditions");
document.write("</A>");
document.write("</TD>");
document.write("</TR></TABLE>");
document.write("</div>");		document.write("</td></tr>");
document.write("<tr><td align='right'>");
document.write("<div id='TopLang'>");		document.write("<TABLE><TR>");
document.write("<TD>");
if ((szLang) && (szLang == "DE")) {
document.write("Deutsch");}
else {
document.write("<A HREF='http://www.buddeberg.de/de/Default.htm?Lang=DE&UID="+szUID+"'>Deutsch</A>");}
document.write("</TD>");
document.write("<TD>");
if ((pszLang) && (pszLang == "UK")) {
document.write("English");}
else {
document.write("<A HREF='http://www.buddeberg.de/uk/Default.htm?Lang=UK&UID="+szUID+"'>English</A>");}
document.write("</TD>");
document.write("</TR></TABLE>");
document.write("</div>");		document.write("</td></tr>");
document.write("<tr><td align='right'>");
document.write("<div id='TopSearch'>");		document.write("<form NAME='SrchData' METHOD='GET' ACTION='http://shop.buddeberg.de/QSRCH.HTM' onSubmit='return (document.SrchData.KEYVAL.value.length > 1);'>");
document.write("<INPUT type='HIDDEN' name='AuthHost' value='www.buddeberg.de'>");
if ((szLang) && (szLang == "UK"))
document.write("<B style='color:white;'>SEARCH</B>");
else
document.write("<B style='color:white;'>SUCHE</B>");
document.write("&nbsp;&nbsp;<INPUT class='DbI' type='TEXT' width='16' maxlength'31' name='KEYVAL'>");
document.write("<INPUT type='HIDDEN' name='CUST' value="+szCust+">");
document.write("<INPUT type='HIDDEN' name='UID' value="+szUID+">");
document.write("<INPUT type='HIDDEN' name='LANG' value="+szLang+">");
document.write("&nbsp;&nbsp;<INPUT type='SUBMIT' value='Go'>");
document.write("</form>");
document.write("</div>");		document.write("</td></tr>");
document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
CalcDocumentArea();
document.write("<div id='TopNav'>");		document.write("<TABLE width='100%' style='height:37px;padding-top:6px;padding-bottom:6px;'><TR>");
OutputMenuEntry(0, "http://www.buddeberg.de/"+pszLang+"/default.htm?UID="+szUID, 1, "HOME", "HOME");
OutputMenuEntry(0, "http://www.buddeberg.de/"+pszLang+"/ueberuns.htm?UID="+szUID, 2, "UNTERNEHMEN", "COMPANY");
OutputMenuEntry(0,"http://www.buddeberg.de/"+szLang+"/aktionen1.htm?UID="+szUID, 3, "AKTIONEN", "OFFERS");
OutputMenuEntry(0, "http://shop.buddeberg.de/default.htm?cust="+szCust+"&Lang="+szLang+"&UID="+szUID+"&AuthHost=www.buddeberg.de", 4, "SHOP", "SHOP");
OutputMenuEntry(0, "http://www.buddeberg.de/"+szLang+"/plr1.htm?UID="+szUID, 5, "PLR-FERTIGUNG", "PLR-MANUFACTURE");
OutputMenuEntry(0, "http://www.buddeberg.de/"+szLang+"/service1.htm?UID="+szUID, 6, "SERVICE", "SERVICE");
OutputMenuEntry(0, "http://www.buddeberg.de/"+pszLang+"/kontakt.htm?UID="+pszUID, 7, "KONTAKT", "CONTACT");
OutputMenuEntry(0, "http://www.buddeberg.de/"+szLang+"/partner.htm?UID="+szUID, 8, "LIEFERANTEN", "SUPPLIER");
OutputMenuEntry(1, "http://www.buddeberg.de/"+szLang+"/download1.htm?UID="+szUID, 9, "DOWNLOAD", "DOWNLOAD");
document.write("</TR></TABLE>");
document.write("<div id='TopGraf'>");		OutputHeadGrafik();
document.write("</div>");		document.write("</div>");		if (window.location.href.toLowerCase().indexOf('nachlese.htm') > 0)	{
document.write("<div id='LargeImageContainerDiv' style='position: absolute; top:260px; margin-left: 100px; z-index:1200; cursor:url(http://www.buddeberg.de/lupeminus.cur), pointer;' onclick='ShowDefaultImage(this);' onmouseout='ShowDefaultImage(this);'></div>");}
document.write("<div id='Main'>");		document.write("<table>");
document.write("<tr>");
document.write("<td valign='top'>");
if (bHasFullwidth)
document.write("<div id='ShopContent'>"); 	else
document.write("<div id='Content'>");		document.write("<H1>"+pszHeader+"</H1>");
if (bHasFullwidth) {
OutputSubMenu(99);}
else if (bIsContactForm) {
OutputSubMenu(0);
}}
function OutputSubHeader(pszSubHeader){
document.write("<H3>"+pszSubHeader+"</H3><BR>");}
function OutputSubMenuEntry(pszURL, ulArea, pszDescDE, pszDescEN){
document.write("<tr>");
if (ulSubArea == ulArea)
document.write("<td class='SubNavEntry'>");
else
document.write("<td class='SubNavEntry'>");
document.write("<a href='"+pszURL+"'>");
if (ulSubArea == ulArea)
document.write("<div class='SubNavEntryMark'>");
else
document.write("<div class='SubNavEntryNorm'>");
if ((szLang) && (szLang == "UK"))
document.write(pszDescEN);
else
document.write(pszDescDE);
document.write("</div>");
document.write("</a></td></tr>");}
function OutputSubMenu(ulMode){
bHasSubmenu = 1;
document.write("<table cellspacing=0 cellpadding=0>");
document.write("<tr>");
document.write("<td valign='top' style='padding-right: 25px;'>");
document.write("<table>");
if (ulMode == 1) {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/ueberuns.htm?UID="+szUID, 1, "Über uns", "About us");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/historie.htm?UID="+szUID, 2, "Historie", "History");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/service.htm?UID="+szUID, 3, "Service", "Service");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/mitarbeiter.htm?UID="+szUID, 4, "Mitarbeiter", "Employees");
if ((szLang) && (szLang == "UK")) {}
else {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/jobs.htm?UID="+szUID, 6, "Jobs", "Jobs");}
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/zertifikate.htm?UID="+szUID, 5, "Zertifikate", "Certificates");}
else if (ulMode == 2) {
if ((szLang) && (szLang == "UK")) {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen1.htm?UID="+szUID, 1, "Labortops", "Labortops");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen3.htm?UID="+szUID, 2, "Compressed air motor", "Compressed air motor");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/news2.htm?UID="+szUID, 6, "Stem Integrity", "Stem Integrity");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/messe.htm?UID="+szUID, 7, "Messen", "Exhibitions");}
else {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen1.htm?UID="+szUID, 1, "Labortops", "");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen2.htm?UID="+szUID, 2, "LLG Kryoröhrchen", "");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen3.htm?UID="+szUID, 3, "Kautexflaschen", "");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/news2.htm?UID="+szUID, 6, "Stem Integrity", "Stem Integrity");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen7.htm?UID="+szUID, 7, "Heizschläuche", "Heizschläuche");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/messe.htm?UID="+szUID, 8, "Messen", "Exhibitions");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen6.htm?UID="+szUID, 9, "IKA", "IKA");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/aktionen8.htm?UID="+szUID, 10, "Heidolph", "Heidolph");
}}
else if (ulMode == 3) {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/download1.htm?UID="+szUID, 1, "Buddeberg Katalog", "Buddeberg Catalog");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/download2.htm?UID="+szUID, 2, "PLR Katalog", "PLR Catalog");
if ((szLang) && (szLang == "DE")) {}}
else if (ulMode == 4) {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/plr1.htm?UID="+szUID, 1, "Vorteile Druckluftrührer", "Advantages compressed-air-stirrers");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/plr2.htm?UID="+szUID, 2, "ATEX&nbsp;&nbsp;<img src='../images/plr/atexmenu.jpg' border=0>", "ATEX&nbsp;&nbsp;<img src='../images/plr/atexmenu.jpg' border=0>");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/plr3.htm?UID="+szUID, 3, "Download PLR Katalog", "PLR Catalog download");
OutputSubMenuEntry("http://plr.buddeberg.de/default.HTM?cust="+szCust+"&Lang="+szLang+"&UID="+szUID+"&AuthHost=www.buddeberg.de", 4, "PLR Online", "PLR Online");}
else if (ulMode == 6) {
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/service1.htm?UID="+szUID, 1, "Überprüfung Laborabzüge", "maintenance of laboratory fume hoods");
OutputSubMenuEntry("http://www.buddeberg.de/"+szLang+"/service2.htm?UID="+szUID, 2, "Regeneration von Wasservollentsalzungspatronen", "Regeneration Service for Demineralisation Cartridges");}
document.write("<tr><td class='UserArea'>");
if ((ulMode > 0) && (ulMode < 99)) {
document.write("<br><br>");}
if ((bUIDIsStatic) && (bUIDIsStatic == "1")) {
document.write("<TABLE width=160px>");
if ((ulUserStatus & 0x20) ) {
document.write("<tr><td class='SubNavEntry'><a href=\"javascript:ShowQuicklist('"+szUID+"')\">");
if ((szLang) && (szLang == "UK"))
document.write("Favorites");
else
document.write("Favoriten");
document.write("</a></td></tr>");}
if ((ulUserStatus & 0x80) ) {
document.write("<tr><td class='SubNavEntry'><a href='http://shop.buddeberg.de/ord_upd.HTM?AuthHost=www.buddeberg.de&Cust="+szCust+"&Lang="+szLang+"&UID="+szUID+"'>");
if ((szLang) && (szLang == "UK"))
document.write("Shopping basket");
else
document.write("Warenkorb");
document.write("</a></td></tr>");}
if ((szB2BSID > "") && ((ulUserStatus & 0x02000000) == 0)) {
document.write("<tr><td class='SubNavEntry'><a href='http://b2b.wiessoft.de/slist.htm?ID="+szB2BSID+"&LANG="+szB2BLang+"&KSTELLE="+szB2BKStelle+"&KSTALLOWED="+szB2BKStelleAllowed+"&CM="+szB2BMode+"&USERMAIL="+szB2BMail+"&FLG="+szB2BFlags+"&RID="+szUID+"&AuthHost=www.buddeberg.de' target='_b2b'>");
if ((szLang) && (szLang == "UK"))
document.write("Transactions");
else
document.write("Vorgangsliste");
document.write("</a></td></tr>");}
if ((ulUserStatus & 7) >= 2) {
document.write("<tr><td class='SubNavEntry'><a href='http://shop.buddeberg.de/_admin.HTM?AuthHost=www.buddeberg.de&Cust="+szCust+"&Lang="+szLang+"&UID="+szUID+"'>");
document.write("Administration");
document.write("</a></td></tr>");}
document.write("<tr><td class='SubNavEntry'><a href='http://www.buddeberg.de/logout.htm?UID="+szUID+"&Lang="+szLang+"'>");
document.write("Logout&nbsp;("+szCust+")");
document.write("</a></td></tr>");
document.write("</TABLE>");
document.write("<DIV id='UserData'></DIV>");}
else if (ulMode != 99) {
document.write("<H2>Login</H2>");
document.write("<FORM NAME='LoginData' METHOD='GET' ACTION='/LOGIN.HTM' onSubmit='return ValidateLogin();'>");
document.write("<INPUT TYPE='HIDDEN' NAME='UID' VALUE='"+szUID+"'>");
document.write("<TABLE>");
document.write("<TR>");
document.write("<TD>");
if ((szLang) && (szLang == "UK"))
document.write("Cust. Code");
else
document.write("Kundencode");
document.write("</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
document.write("<INPUT class='loginfield' TYPE='TEXT' NAME='CUSTCODE' SIZE='20' MAXLENGTH='30'>");
document.write("</TD>");
document.write("<TD>&nbsp;</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
if ((szLang) && (szLang == "UK"))
document.write("Username");
else
document.write("Benutzer");
document.write("</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
document.write("<INPUT class='loginfield' TYPE='TEXT' NAME='USERNAME' SIZE='20' MAXLENGTH='30'>");
document.write("</TD>");
document.write("<TD>&nbsp;</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
if ((szLang) && (szLang == "UK"))
document.write("Password");
else
document.write("Passwort");
document.write("</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
document.write("<INPUT class='loginfield' TYPE='PASSWORD' NAME='USERPASS' SIZE='20' MAXLENGTH='63'>");
document.write("</TD>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD>");
document.write("<INPUT TYPE='SUBMIT' VALUE='Go'>");
document.write("</TD>");
document.write("</TR>");
document.write("</TABLE>");
document.write("</FORM>");}
document.write("</td></tr>");
document.write("</table>");
if (ulMode == 99) {
document.write("<DIV class=WR_INFO_TREE>");
document.write("<DIV id='ShopGroupTree'></DIV>");
document.write("</DIV>");}
document.write("</td>");
document.write("<td valign='top'>");}
function OutputFooter(){
if (bHasSubmenu) {
document.write("</td>");
document.write("</tr>");
document.write("</table>");}
document.write("</div>");		document.write("</td>");
if (!bHasFullwidth) {
document.write("<td valign='top'>");
document.write("<div id='UserIO'>");		if ((szLang) && (szLang == "UK")) {
document.write("<H2>Achema 2012</H2>");
document.write("<img class='AnyImg' src='http://www.buddeberg.de/images/messe/achema2012.jpg' height=100><br>");
document.write("<a class='TextURL' href='http://www.buddeberg.de/uk/messe.htm?UID="+szUID+"&Lang=UK'>Visit us at Achema</a> &gt;&gt;&gt;");}
else {
document.write("<H2>Achema 2012</H2>");
document.write("<img class='AnyImg' src='http://www.buddeberg.de/images/messe/achema2012.jpg' height=100><br>");
document.write("<a class='TextURL' href='http://www.buddeberg.de/de/messe.htm?UID="+szUID+"'>Treffen Sie uns auf der Achema</a> &gt;&gt;&gt;");}
document.write("<HR>");
if ((szLang) && (szLang == "UK")) {}
else {
document.write("<H2>Neuer Katalog 2012/2013</H2>");
document.write("<a href='http://www.buddeberg.de/de/download1.htm?UID="+szUID+"'><img class='AnyImg' src='http://www.buddeberg.de/images/kat/general.jpg'></a>");
document.write("<br><br><a class='TextURL' href='http://www.buddeberg.de/de/download1.htm?UID="+szUID+"'>Katalogdownload</a> &gt;&gt;&gt;");
document.write("<br><a class='TextURL' href='http://www.buddeberg.de/contact.htm?UID="+szUID+"&SUBJECT=Kataloganforderung'>Kataloganforderung</a> &gt;&gt;&gt;");
document.write("<HR>");}
if ((szLang) && (szLang == "UK")) {
document.write("<H2>Contact</H2>");
document.write("<a class='TextURL' href='http://www.buddeberg.de/contact.htm?UID="+szUID+"&Lang=UK'>Contact us</a> directly &gt;&gt;&gt;");}
else {
document.write("<H2>Kontakt</H2>");
document.write("Der direkte Weg zum <a class='TextURL' href='http://www.buddeberg.de/contact.htm?UID="+szUID+"'>Kontaktformular</a> &gt;&gt;&gt;");}
document.write("<HR>");
if ((szLang) && (szLang == "UK"))
document.write("<H2>Offers</H2>");
else
document.write("<H2>Aktionen</H2>");
document.write("<IFRAME class='SnippetFrame' SRC='http://download.wiessoft.de/snippet.htm?DRES=290&amp;OFS=-1&amp;Cust=BUDDE-"+szLang+"' scrolling='no' frameborder='0'></IFRAME>");
document.write("<HR>");
if ((szLang) && (szLang == "UK")) {}
else {
document.write("<H2>Buddeberg bei XING</H2>");
document.write("<a href='https://www.xing.com/net/prifbbf92x/buddeberg/' target='xing'><img class='AnyImg' src='http://www.buddeberg.de/images/XING_Web_Master.jpg' height='80%'></a>");
document.write("<HR>");}
document.write("</div>");		document.write("</td>");}
document.write("</tr>");
document.write("</table>");
document.write("</div>");	}
function OutputTabFoot(nCols, pszStyle){
document.write("<TR>");
for (var i=0; i < nCols; i++) {
if (pszStyle)
document.write("<TH class=\"DbF\" style=\"" + pszStyle + "\">&nbsp;</TH>");
else
document.write("<TH class=\"DbF\">&nbsp;</TH>");}
document.write("</TR>");}
function OutputTrenner(nWidth){
document.write("<HR WIDTH="+nWidth+">");}
function OutputPreText(pszFilename, pszLang){}
function OutputPostText(pszFilename, pszLang){
if (pszFilename) {
if ((pszFilename.indexOf("ORD_ADD") >= 0) || (pszFilename.indexOf("ORD_UPD") >= 0)) {
if ((pszLang) && (pszLang == "DE")) {
document.write("Die Porto- und Verpackungskosten gelten f\u00fcr den Versand nach Deutschland.<BR>");}
else {
document.write("Shipping and packaging cost apply to shipments within Germany. Please enquire international delivery rates.<BR>");
}}}
if ((szCust) && (szCust.toUpperCase() == "BKLU")) {
document.write("<BR>");
document.write("Ansprechpartnerin im Einkauf:<BR>");
document.write("<B>Frau Kornelia Misch</B><BR>");
document.write("Tel. 0621 / 5709-671<BR>");
document.write("E-Mail: <A href='mailto:k.misch@bk-giulini.com'>k.misch@bk-giulini.com</A><BR>");
}}
function Route(pszScript, pszUID, pszCust, pszLang, pszMode){}
function CloseQuicklist(pszUID){
var	hWindow;
hWindow = window.open("QLST_LIST.HTM?UID="+pszUID, "QuickList", "width=320,height=480,resizeable=no,dependent=yes,scrollbars=yes");
hWindow.focus();
hWindow.close();}
function ShowQuicklist(pszUID){
var	hWindow;
hWindow = window.open("QLST_LIST.HTM?UID="+pszUID, "QuickList", "width=320,height=480,resizeable=no,dependent=yes,scrollbars=yes");
hWindow.focus();}
function AddQuickList(pszUID, pszName, pszVal, ulVal){
var	hWindow;
hWindow = window.open("QLST_ADD.HTM?UID="+pszUID+"&uVal="+ulVal+"", "QuickList", "width=320,height=480,resizeable=no,dependent=yes,scrollbars=yes");
hWindow.focus();}
function AQLExt(pszUID, pszID, pszArtnr){
var	hWindow;
hWindow = window.open("QLST_ADD.HTM?UID="+pszUID+"&uVal="+pszID+"&sVal="+pszArtnr+"", "QuickList", "width=320,height=480,resizeable=no,dependent=yes,scrollbars=yes");
hWindow.focus();}
function SetWKorbStatus(pszFilename, pszUserID, nPosCount, nNetValue, nTotValue, pszValText, pszLang){}
function ShowTextMessage(pszText){
window.alert(pszText);}
function DisplayWKorbAddInfo(pszArtnr, pszLang){
if ((pszArtnr) && (pszArtnr != "")) {
if ((pszLang) && (pszLang == "UK")) {
window.alert("Item "+pszArtnr+" added to shopping basket!");}
else if ((pszLang) && (pszLang == "FR")) {
window.alert("Item "+pszArtnr+" added to shopping basket!");}
else if ((pszLang) && (pszLang == "ES")) {
window.alert("Item "+pszArtnr+" added to shopping basket!");}
else if ((pszLang) && (pszLang == "NL")) {
window.alert("Item "+pszArtnr+" added to shopping basket!");}
else if ((pszLang) && (pszLang == "IT")) {
window.alert("Item "+pszArtnr+" added to shopping basket!");}
else  {
window.alert("Artikel "+pszArtnr+" in Warenkorb \u00fcbernommen!");
}}
else {
if ((pszLang) && (pszLang == "UK")) {
window.alert("Error adding item to shopping basket!");}
else if ((pszLang) && (pszLang == "FR")) {
window.alert("Error adding item to shopping basket!");}
else if ((pszLang) && (pszLang == "ES")) {
window.alert("Error adding item to shopping basket!");}
else if ((pszLang) && (pszLang == "NL")) {
window.alert("Error adding item to shopping basket!");}
else if ((pszLang) && (pszLang == "IT")) {
window.alert("Error adding item to shopping basket!");}
else  {
window.alert("Fehler bei \u00dcbernahme in Warenkorb!");
}}}
var DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0;
function DHTML_init() {
if (window.opera) {
OP = 1;}
if(document.getElementById) {
DHTML = 1;
DOM = 1;}
if(document.all && !OP) {
DHTML = 1;
MS = 1;}
if (window.netscape && window.screen && !DOM && !OP){
DHTML = 1;
NS = 1;
}}
function getElemByID(p2) {
var Elem;
if(DOM) {
if (typeof document.getElementById(p2) == "object")
Elem = document.getElementById(p2);
else Elem = void(0);
return(Elem);}
else if(MS) {
if (typeof document.all[p2] == "object")
Elem = document.all[p2];
else Elem = void(0);
return(Elem);}
else if(NS) {
if (typeof document[p2] == "object")
Elem = document[p2];
else Elem = void(0);
return(Elem);
}}
function getElemByName(p2, p3) {
var Elem;
if(DOM) {
if (typeof document.getElementsByName(p2) == "object")
Elem = document.getElementsByName(p2)[p3];
else Elem = void(0);
return(Elem);}
else if(MS) {
if (typeof document[p2] == "object")
Elem = document[p2];
else Elem = void(0);
return(Elem);}
else if(NS) {
if (typeof document[p2] == "object")
Elem = document[p2];
else Elem = void(0);
return(Elem);
}}
function setContentByID(pszID, pszContent) {
if(DOM && getElemByID(pszID) && getElemByID(pszID).firstChild)
getElemByID(pszID).firstChild.nodeValue = pszContent;
else if(MS && getElemByID(pszID))
getElemByID(pszID).innerText = pszContent;
else if(NS && getElemByID(pszID)) {
getElemByID(pszID).document.open();
getElemByID(pszID).document.write(pszContent);
getElemByID(pszID).document.close();
}}
DHTML_init();
function OutputWKorbAGBText(pszFilename, pszLang){
if ((pszLang) && (pszLang == "DE")) {
document.write("Voraussetzung f\u00fcr den Einkauf bei Buddeberg GmbH:<BR>");
document.write("Unser Angebot richtet sich ausschlie\u00dflich an Gesch\u00e4ftskunden - also Unternehmen, \u00f6ffentliche Einrichtungen, Gewerbetreibende und Freiberufler. Mit dem Akzeptieren der AGB best\u00e4tigen Sie, dass Sie als Unternehmer im Sinne des BGB (ƒ 14, Abs. 1 BGB) t\u00e4tig sind.<BR>");
document.write("<BR>");
document.write("Im Interesse aller teilnehmenden Partner bem\u00fcht sich die Buddeberg GmbH, Zahlungsausf\u00e4lle weitestgehend zu reduzieren. Sicher haben Sie daher Verst\u00e4ndnis daf\u00fcr, dass wir bei Ihrer ersten Bestellung Ihre Bonit\u00e4t \u00fcberpr\u00fcfen. Ihre Daten werden nicht an Dritte weiter gegeben - ausgenommen zum Zweck der Bestellabwicklung.<BR>");}
else {
document.write("Requirements for the purchase with Buddeberg GmbH:<BR>");
document.write("Please note that we do not sell to private individuals. Our offers are for business customers only, we exclusively sell to businesses and corporate companies, public institutions, and business persons owing a trade licence/certificate. Accepting our General Terms and Conditions is your confirmation of being a business customer as stipulated under German Civil Code (f 14, Abs. 1 BGB).<BR>");
document.write("<BR>");
document.write("Following the best interests of all parties concerned we aim to reduce non-payments to a minimum amount. We therefore trust you understand the necessity that we request advanced payment from new customers and/or check the credit worthiness of new accounts. Your data will not be given to third parties, except for the purpose of processing the order.<BR>");
}}
function SetQListStatus(pszUID, nPosCount, pszLang){
var pSpan;
pSpan = getElemByID("QListData");
if (pSpan) {
if (nPosCount > 0)
pSpan.visible = true;
else
pSpan.visible = false;
}}
function SetShopStatus(pszSupplier, pszCatalogue, pszTitle, pszLang){
szCatalogue = pszCatalogue;}
function SetB2BStatus(pszUID, pszB2BServer, pszSender, pszReceiver, pszFlags, pszKStelle, pszKStelleAllowed, pszMail, pszCSVMode, pszLang){
szB2BServer = "";
szB2BSID = "";
szB2BFlags = "";
szB2BKStelle = "";
szB2BKStelleAllowed = "";
szB2BMail = "";
szB2BMode = "";
szB2BLang = "";
if (pszB2BServer)
szB2BServer = pszB2BServer;
if (pszSender)
szB2BSID = pszSender;
if (pszFlags)
szB2BFlags = pszFlags;
if (pszKStelle)
szB2BKStelle = pszKStelle;
if (pszKStelleAllowed)
szB2BKStelleAllowed = pszKStelleAllowed;
if (pszMail)
szB2BMail = pszMail;
if (pszCSVMode)
szB2BMode = pszCSVMode;
if (pszLang)
szB2BLang = pszLang;}
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
function ControlVersion(){
var version;
var axo;
var e;
try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {}
if (!version){
try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
version = "WIN 6,0,21,0";
axo.AllowScriptAccess = "always";
version = axo.GetVariable("$version");
} catch (e) {}}
if (!version){
try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {}}
if (!version){
try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {}}
if (!version){
try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
}}
return version;}
function GetSwfVer(){
var flashVer = -1;
if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
var versionRevision = descArray[3];
if (versionRevision == "") {
versionRevision = descArray[4];}
if (versionRevision[0] == "d") {
versionRevision = versionRevision.substring(1);
} else if (versionRevision[0] == "r") {
versionRevision = versionRevision.substring(1);
if (versionRevision.indexOf("d") > 0) {
versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
}}
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
}}
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();}
return flashVer;}
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision){
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray  = versionStr.split(" "); 	tempString  = tempArray[1];		versionArray  = tempString.split(",");	} else {
versionArray  = versionStr.split(".");}
var versionMajor  = versionArray[0];
var versionMinor  = versionArray[1];
var versionRevision  = versionArray[2];
if (versionMajor > parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
}}
return false;
}}
function AC_AddExtension(src, ext){
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;}
function AC_Generateobj(objAttrs, params, embedAttrs){
var str = '';
if (isIE && isWin && !isOpera){
str += '<object ';
for (var i in objAttrs){
str += i + '="' + objAttrs[i] + '" ';}
str += '>';
for (var i in params){
str += '<param name="' + i + '" value="' + params[i] + '" /> ';}
str += '</object>';}
else{
str += '<embed ';
for (var i in embedAttrs){
str += i + '="' + embedAttrs[i] + '" ';}
str += '> </embed>';}
document.write(str);}
function AC_FL_RunContent(){
var ret =
AC_GetArgs
(  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);}
function AC_SW_RunContent(){
var ret =
AC_GetArgs
(  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);}
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblclick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;}

