You are on page 1of 4

var language = 'english';

if (language == '') language = 'deutsch';


function imgchange(img,oimg) {
if (img != '') {
if (oimg) {
oimg.src = img;
}
}
return true;
}
function trustedshops() {
window.open("/info/siegel.asp?language=" + language + "&window=popup","s
tatuspopup","width=600,height=630,left=160,top=100,resizable=yes,scrollbars=yes,
status=no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
function comparepopup(id,availability,lieferstatus,familyid) {
advfuncparam = typeof familyid == "undefined" ? "" : ("f=" + familyid + "&");
window.open("/compare.asp?" + advfuncparam + "a=" + id + "&language=" + lang
uage + "&w=popup&s1=" + lieferstatus + "&s2=" + availability,"comparepopup","wid
th=750,height=450,resizable=yes,scrollbars=yes,status=yes,menubar=no,directories
=no,location=no,toolbar=yes");
return false;
}
function optimizerpopup(id) {
window.open("/cart_optimize.asp?mode=product&id=" + id + "&language=" + lang
uage + "&window=popup","optimizerpopup","width=666,height=500,left=25,top=50,res
izable=yes,scrollbars=yes,status=no,menubar=no,directories=no,location=no,toolba
r=no");
return false;
}
function currpopup(returlfromcart) {
window.open("/currency.asp?language=" + language + "&returl=" + returlfromca
rt + "&window=popup","currpopup","width=400,height=350,left=190,top=170,resizabl
e=no,scrollbars=no,status=no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
function listpopup(id,userid)
{
if (userid != "") {
var sWidth = '730px'
var sHeight = '590px'
}
else {
var sWidth = '475px'
var sHeight = '290px'
}
var list_popup = dh_popup_layer(sWidth,sHeight, 1);
var url = "/community/list_add.asp?id=" + id + "&ajax=1";
dh_load_layer(list_popup, url, '', 'no', '', '');
return false;
}
function listemailpopup(id,name)
{
var sWidth = '480px'
var sHeight = '530px'
var list_popup = dh_popup_layer(sWidth,sHeight, 1);
var url = "/community/list_email.asp?id=" + id + "&name=" + name + "&ajax=1"
;
dh_load_layer(list_popup, url, '', 'no', '', '');
return false;
}
function listemailpreview(thisForm)
{
var thisEmailText = thisForm.EmailText.value;
thisEmailText = thisEmailText.replace(/\n/g,"<br>").replace(/\r/g,"");
var thisID = thisForm.id.value;
var thisName = thisForm.name.value;
window.open("/community/list_email.asp?id=" + thisID + "&name=" + thisName +
"&emailtext=" + thisEmailText + "&preview=true&ajax=1","previewpopup","width=70
0,height=500,left=190,top=170,resizable=no,scrollbars=yes,status=no,menubar=no,d
irectories=no,location=no,toolbar=no");
return false;
}
function list_remove_popup() {
dh_remove_popup_layer();
return false;
}
function phonepopup(id) {
window.open("/phone.asp?id=" + id + "&window=p&language=" + language,"phonep
opup","width=470,height=490,left=190,top=170,resizable=yes,scrollbars=yes,status
=no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
function ClipBoard(theItem) {
Copied = theItem.createTextRange();
Copied.execCommand("Copy");
return false;
}
function imagepopup(id) {
window.open("/digicam/gewinnspiel_image.asp?language=" + language + "&id=" +
id + "&window=popup&ref=true","imagepopup","width=650,height=650,left=240,top=5
0,resizable=yes,scrollbars=yes,status=no,menubar=no,directories=no,location=no,t
oolbar=no");
return false;
}
function commentpopup(id,resizable) {
window.open("/comment_popup.asp?id=" + id + "&window=p&language=" + language
,"commentpopup","width=620,height=540,left=190,top=170,resizable=" + resizable +
",scrollbars=yes,status=no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
function LockID(id,action,productid)
{
window.open("/admin/Zub_LockID.asp?language=" + language + "&action=" + action
+ "&id=" + productid + "&lockid=" + id,"statuspopup","width=300,height=120,left
=160,top=100,resizable=no,scrollbars=no,status=no,menubar=no,directories=no,loca
tion=no,toolbar=no");
return false;
}
function poppricehistory(id) {
window.open("/pricehistory.asp?id=" + id + "&window=popup&" + language,"recom
mend","width=450,height=600,left=220,top=30,resizable=yes,scrollbars=yes,status=
no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
function help(id, key, params) {
window.open("/help/help.asp?i="+id+"&k="+key+"&p="+params+"&l=d&w=p","_blank"
,"width=550,height=500,left=150,top=100,resizable=yes,scrollbars=yes,status=no,m
enubar=no,directories=no,location=no,toolbar=no");
return false;
}

function Show3DImage(id,spxfile,name1,scrollbars) {
window.open("/3DModels/3DPopup.asp?id=" + id + "&spx=" + spxfile + "&popup=tr
ue&name=" + name1 + "&" + language,"3DPopup","width=512,height=605,left=100,top=
100,resizable=no,scrollbars=" + scrollbars + ",status=no,menubar=no,directories=
no,location=no,toolbar=no");
return false;
}
function ShowFlixVideo(url,scrollbars) {
window.open(url,"VideoPopup","width=480,height=490,left=100,top=100,resizable
=no,scrollbars=" + scrollbars + ",status=no,menubar=no,directories=no,location=n
o,toolbar=no");
return false;
}
function showmorepictures() {
for (var i = 0; i < document.links.length; ++i)
{
if(document.links[i].name == 'BigImage')
{
window.open(document.links[i].href,"showmorepictures","resizable=no,scroll
bars=yes,status=no,menubar=no,directories=no,location=no,toolbar=no");
return false;
}
}
}
function showbigpicture(id,bigpicture) {
window.open("/showbigpicture.asp?id=" + id + "&src=" + bigpicture + "&la
nguage=" + language + "&javascript=on","showbigpicture","width=600,height=400,le
ft=190,top=150,resizable=yes,scrollbars=yes,status=no,menubar=no,directories=no,
location=no,toolbar=no");
return false;
}
function comment_reallydelete() {
return confirm('Wollen Sie diesen Kommentar wirklich unwiderruflich lösche
n?');
}
function comment_reallyhide() {
return confirm('Kommentar jetzt vor der Öffentlichkeit verstecken?');
}
function comment_reallypublish() {
return confirm('Kommentar jetzt veröffentlichen?');
}

You might also like