var x=screen.width/2-220;
var y=screen.height/2-250;
winsettings = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,left=' +x +',top='+y+',';
var t;
function colorwin(){ 		cyber=window.open('win.php?Info=Colors', 'info', winsettings + 'width=250,height=280') }
function bgroundwin(){ 		cyber=window.open('win.php?Info=Background', 'info2',  winsettings + 'width=250,height=290') }
function emoticonwin(){		cyber=window.open('win.php?Info=Emoticons', 'info4', winsettings + 'width=350,height=300') }
function exturl(){ 		cyber=window.open('win.php?Info=Custom', 'info5', winsettings + 'width=450,height=270') }
function notify(){ 		cyber=window.open('win.php?Info=Notify', 'info6', winsettings + 'width=300,height=140') }
function fontface(){ 		cyber=window.open('win.php?Info=Fonts', 'info7', winsettings + 'width=550,height=270') }
function stampwin(){ 		cyber=window.open('win.php?Info=Stamp', 'info8', winsettings + 'width=250,height=290') }
function wishes(cat_id) { cyber=window.open('showwishes.php?cat_id='+cat_id, 'info9', winsettings + 'width=450,height=400') }
function contacts() { cyber=window.open('showcontact.php', 'info10', winsettings + 'width=450,height=400') }

function playmusic(formObj)
{
	musicName = formObj.sound_file.value;
	title=formObj.sound_file.options[formObj.sound_file.selectedIndex].text;
	if(musicName != "")
	{
	 if (d){
	    d.close();
	    d=window.open('musicpreview.php?music_url='+ musicName+'&title='+title,'',winsettings +'width=400,height=250');
	  	  }
	 else
	  d=window.open('musicpreview.php?music_url='+ musicName+'&title='+title,'',winsettings +'width=400,height=250');

	}   
	else
	   alert(MsgWinMusicNote);
}
function addrecp(formObj){
  NumberRecp = formObj.addrecip.options[formObj.addrecip.selectedIndex].value;
  if(NumberRecp != ""){
    window.location="create.php?" + query_string + "&addrecip=" + NumberRecp;
  }
}

 