var pics=new Array();
var objCount=0;

function new_win_view(f,xx,yy,title){
myWin=open('','displayWindow','width='+(xx+35)+',height='+(yy+35)+',status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes');
myWin.document.open();
myWin.document.write('<html><head><title>'+title+'</title></head>');
myWin.document.write('<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>');
myWin.document.write('<img src=\"+f+\" width=\"+xx+\" height=\"+yy+\" hspace=0 vspace=0 border=0>');
myWin.document.write('</body></html>');
myWin.document.close();
myWin.resizeTo(xx+35,yy+35);
myWin.focus();}


function view(f,xx,yy){
myWin=open("","_blank","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no");
myWin.document.open();
myWin.document.write("<html><head><title>ItalON: (495) 748-70-40 www.ital-on.ru</title></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0>");
myWin.document.write("</body></html>");
myWin.document.close();
//myWin.resizeTo(xx+10,yy+39);
myWin.focus();}

function wiew(f,xx,yy){
myWin=open("","displayWindow","width="+xx+",height="+yy+",status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no");
myWin.document.open();
myWin.document.write("<html><head><title>ItalON</title></head>");
myWin.document.write("<body  BGCOLOR=#ffffff marginwidth=0 marginheight=0 leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0>");
myWin.document.write("<img src=\""+f+"\" hspace=0 vspace=0 border=0>");
myWin.document.write("</body></html>");
myWin.document.close();
myWin.resizeTo(xx+10,yy+29);
myWin.focus();}
function ow(f,x,y){
qq1="op";
qq2="en";
qq4="width="+x+",height="+y+",status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes";
qq5=qq1+qq2+"(f,'displayWindow','"+qq4+"');";
myWin=eval(qq5);
myWin.focus();
}



function ChangeDecor(kusok,bigfoto)
		{
		document.getElementById("fragment").src = kusok;
		document.getElementById("fotka").src = bigfoto;
		document.getElementById("f_Fotossilka").value = "http://www.ital-on.ru"+bigfoto; 
		}


function preload(first,second){if(roll == 'true'){pics[objCount]=new Array(2);pics[objCount][0]=new Image();pics[objCount][0].src=first;pics[objCount][1]=new Image();pics[objCount][1].src=second;}}
function over(img,ref) { if (roll == 'true') { document.images[img].src = ref; } } 
function out(img,ref)  { if (roll == 'true') { document.images[img].src = ref;} }