
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=290') }
function playmusic(formObj)
{
	music_name = formObj.sound_file.options[formObj.sound_file.selectedIndex].value;
	if (music_name != '')
	{
		x = window.open('','info9', winsettings + 'width=200,height=50');
		x.document.write("<html>\n<head>\n<title>Music</title>\n</head>\n<body style='body; margin: 0px 0px 0px 0px;'>\n");
		x.document.write("\n<embed src='"+ base_music_url + music_name +"' height='25' width='150' autostart='true' loop='true'>\n<noembed>\n<bgsound src='"+ base_music_url + music_name +"' loop='infinite' />\n</noembed>\n");
		x.document.write("\n</body>\n</html>");
	}
	else
	{
	   alert(alertmessage);
	}
}


