
if(typeof blankImg=='undefined')var blankImg='/_templates/css/theme_2008/blank.gif';function checkDisabled()
{if(document.forms.edit.edit_wave_id.options[document.forms.edit.edit_wave_id.selectedIndex].disabled==true){alert('Sorry, this foodwave has already exceeded the maximum amout of orders.\nPlease choose another one!');document.forms.edit.edit_wave_id.selectedIndex=0;}}
function readMore()
{window.open("info_allow_release.php","allowRelease","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=350");}
function markDel(field,layer,id)
{if(!confirm("Do you really want to delete this file?"))
return;field.value=id;layer=document.getElementById(layer);layer.style.display="none";}
function noRelease()
{window.open("info_no_release.php","infoScreen","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=150");}
function noDownload()
{window.open("info_no_download.php","infoScreen","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=180");}
function deleteID(formname,num)
{if(!confirm("Really delete?"))return;document.forms[formname].num.value=num;document.forms[formname].submit();}
function picturePopup(compo,id,file,width,height)
{window.open("picture_popup.php?file="+file+"&compo="+compo+"&id="+id+"&w="+width+"&h="+height,"picturePopup","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width="+width+",height="+height);}
function foodInfo(id)
{window.open("sec_food_info.php?id="+id,"foodInfo","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=350");}
function entryInfo(id)
{window.open("sec_entry_info.php?id="+id,"entryInfo","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500");}
function seminarInfo(id)
{window.open("seminar_info.php?id="+id,"seminarInfo","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=350");}
function streamInfo(stream)
{window.open("streams_info.php?stream="+stream,"streamsInfo","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=680,height=500");}
function confirmSubscribe(id)
{if(!confirm("Really subscribe?"))return;document.location.href="seminar.php?id="+id+"&action=subscribe";}
function confirmUnsubscribe(id)
{if(!confirm("Really unsubscribe?"))return;document.location.href="seminar.php?id="+id+"&action=unsubscribe";}
