function newWindowAnuncio(loc,tip) {
imagen1 = new Image();
if (tip == 1) {
imagen1.src = '../bilder/elemente/' + loc + '.jpg';
}
else {
imagen1.src = '../bilder/elemente/' + loc + '_2d.jpg';
};
ancho = imagen1.width;
alto = imagen1.height;
if (ancho == 0){
ancho = screen.width;
alto = screen.height;
}
if (alto >= screen.height ) {
steinpic = window.open('','documentWin','toolbar=0,location=0,status=0,scrollBars=1,resize=1,width=' + ancho + ',height=' + alto);
} else {
steinpic = window.open('','documentWin','toolbar=0,location=0,status=0,scrollBars=0,resize=1,width=' + ancho + ',height=' + alto);
}
navegador = navigator.appName;
steinpic.document.open();
steinpic.document.write('
');
steinpic.document.write('Styro Stone Nr.: ' + loc + ' ');
if (navegador == "Netscape") {
steinpic.document.write('');
}
else {
steinpic.document.write('');
}
steinpic.document.write('');
steinpic.document.write('
');
steinpic.document.write('');
steinpic.document.write('');
steinpic.document.close();
}
function winopen(loc){
newwin=window.open('../bilder/elemente/' + loc + '_2d.jpg','','scrollbars')
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
function tabelle(element){
document.write ('');
document.write ('');
document.write ('');
document.write ('Styro Stone Nr.: ' + element);
document.write ('');
document.write (' ');
document.write (' | ');
document.write (' ');
document.write (' | ');
document.write ('
');
document.write ('
');
document.write ('
');
}
function calculate()
{
if (!document.fileSize)
{
alert('This script does not work in your browser.');
return;
}
var size = (document.fileSize)*1;
var y = document.images;
var imglength = 0;
for (i=0;i 40000) writestring += "\nFile too large!";
alert(writestring);
}