
winsettings = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,';

function colorwin(){ cyber=window.open('win.php?inf=colors', 'info', winsettings + 'width=250,height=480') }
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=460,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=450,height=400') }
function stampwin(){ cyber=window.open('win.php?inf=stamps', 'info8', winsettings + 'width=250,height=290') }
function recipwin(){ window.open('help/recip.shtml', 'info9', winsettings + 'width=480,height=290') }
function titlewin(){ window.open('help/title.shtml', 'info10', winsettings + 'width=480,height=290') }
function signwin(){ window.open('help/sign.shtml', 'info11', winsettings + 'width=480,height=290') }
function fontsize(){ window.open('help/fontsize.shtml', 'info12', winsettings + 'width=480,height=290') }
function datewin(){ window.open('help/date.shtml', 'info13', winsettings + 'width=480,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=210,height=30, top=300, left=300');
		x.document.write("<html>\n<head>\n<title>Music</title>\n</head>\n<body style='body; margin: 30px 8px 8px 8px;background-color: steelblue;'>\n");
		x.document.write("\n<embed src='"+ base_music_url + music_name +"' height='25' width='170' 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);
	}
}


