function change_item(find_item,change_with)
{
ID=document.getElementById(find_item);
ID.src=change_with;
}


/*
channelmode=yes|no|1|0  	Whether or not to display the window in theater mode. Default is no
directories=yes|no|1|0 	Whether or not to add directory buttons. Default is yes
fullscreen=yes|no|1|0 	Whether or not to display the browser in full-screen mode. Default is no. A window in full-screen mode must also be in theater mode
height=pixels 	The height of the window. Min. value is 100
left=pixels 	The left position of the window
location=yes|no|1|0 	Whether or not to display the address field. Default is yes
menubar=yes|no|1|0 	Whether or not to display the menu bar. Default is yes
resizable=yes|no|1|0 	Whether or not the window is resizable. Default is yes
scrollbars=yes|no|1|0 	Whether or not to display scroll bars. Default is yes
status=yes|no|1|0 	Whether or not to add a status bar. Default is yes
titlebar=yes|no|1|0 	Whether or not to display the title bar. Ignored unless the calling application is an HTML Application or a trusted dialog box. Default is yes
toolbar=yes|no|1|0 	Whether or not to display the browser toolbar. Default is yes
top=pixels 	The top position of the window
width=pixels 	The width of the window. Min. value is 100
*/

function page(URL,name,width,height,resizable,scrollbars,location,menubar,toolbar,status)
{
if(!URL){URL="";}
if(!name){name='newwin';}
if(!width){width="306";}
if(!height){height="400";}
if(!resizable){resizable="0";}
if(!scrollbars){scrollbars="0";}
if(!location){location="0";}
if(!menubar){menubar="0";}
if(!toolbar){toolbar="0";}
if(!status){status="0";}

var options='width='+width+","+'height='+height+","+'resizable='+resizable+","+'scrollbars='+scrollbars+","+'location='+location+","+'menubar='+menubar+","+'toolbar='+toolbar+","+'status='+status;
new_Window=window.open(URL,name,options);if (window.focus) { new_Window.focus(); }
//new_Window=window.open(URL,'newwin','width=306,height=400,status=no,toolbar=no,menubar=no,location=no,resizable=yes,menubar=no,scrollbars=no,titlebar=no');
}

function big(URL,TITLE,WIN_NAME,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,WIN_NAME,"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
newWindow.document.write('<html><title>'+TITLE+' - Хотел комплекс Нови Извор :: Hotel complex Novi Izvor'+'<\/title><head><\/head><body style="margin: 0 auto;"><img src="'+URL+'" alt="'+URL+'"><\/body><\/html>');
newWindow.document.close();
if(newWindow){newWindow.focus();}
}
