function openwin(name)
{
// document.getElementById("rotocam").innerHTML="<font color=blue>Поворот камеры в другое положение будет доступен после перезагрузки страницы</font>";
recyclewin=open(name,"recycle","toolbar=0,location=0,menubar=0,scrollbars=0,status=0,resizable=1,width=260,height=230,left=15,top=50");
}


function setfocuswin()
{
focus();
}

function checkparentwin()
{
lasturl=window.opener.location.href;
tmpjava="/";
n=lasturl.lastIndexOf(tmpjava)+1;
m=lasturl.length;
lasturl=lasturl.substring(n,m);
lasturl=lasturl.toLowerCase();
tmpjava="zakaz.htm";
if (lasturl==tmpjava){window.opener.location = window.opener.location};
}


function goTo (where) {
if (where != "") window.location.href = where;
}

function popup_shot()
{
//    win=window.open('http://cams.camx.ru/full/?id=3', '', "height=510,width=640,scrollbars=1,resizable=1");
    win=window.open('http://www.feo.ru/cam/cam-scrshot.htm', '', "height=510,width=640,scrollbars=0,resizable=0");
    win.focus();
}
