<!--
winsettings = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,';

function colorwin(){ cyber=window.open('win.php?inf=colors', 'info', winsettings + 'width=250,height=280') }
function bgroundwin(){ cyber=window.open('win.php?inf=backgrounds', 'info2',  winsettings + 'width=250,height=290') }
function emoticonwin(){ cyber=window.open('win.php?inf=emoticons', 'info4', winsettings + 'width=430,height=370') }
function exturl(){ cyber=window.open('win.php?inf=custom', 'info5', winsettings + 'width=450,height=270') }
function notify(){ cyber=window.open('win.php?inf=notify', 'info6', winsettings + 'width=300,height=140') }
function fontface(){ cyber=window.open('win.php?inf=fonts', 'info7', winsettings + 'width=550,height=270') }
function stampwin(){ cyber=window.open('win.php?inf=stamps', 'info8', winsettings + 'width=250,height=300') }
function openWindow(url,w,h){
	var winame = 'popup';
	popupWin = window.open(url,winame,'scrollbars,menubar,resizeable,width='+w+',height='+h);
}
function playmusic(formObj)
{ 
	music_name = formObj.sound_file.options[formObj.sound_file.selectedIndex].value;
	if(music_name != '')
	{
	cyber=window.open('win.php?inf=music&file='+ music_name, 'info9', winsettings + 'width=200,height=200'); 
	} else {
	   alert(alertmessage);
	}
}
function messaggi() {
	newwindow=window.open('./win_msgbrowser.php','frase','width=580,height=600,scrollbars=yes,resizable=no,top=30,left=50')
	newwindow.creator = self
}
function immagini() {
	newwindow=window.open('./win_gallerybrowser.php','immagine','width=650,height=600,scrollbars=yes,resizable=no,top=30,left=50') 
	newwindow.creator = self
}
function changeSubCat(cat,subcat)
{
	document.location.href='gallerybrowser.php?cat_id=' + cat + '&sub_cat_id=' + subcat;				
}
function changeSubCatMsg(cat,subcat)
{
	document.location.href='msgbrowser.php?cat_id=' + cat + '&sub_cat_id=' + subcat;				
}
function colore()
	{
	if (!document.images)
	return
	var color=document.vcliteform.ecard_color.options[document.vcliteform.ecard_color.selectedIndex].value;
	document.all.postcolor1.bgColor=color;
	if (document.all.postcolor2) {
  		document.all.postcolor2.bgColor=color;
	}
	document.all.postcolor3.bgColor=color;
}
//-->