
function uploadImage(){
if (isLoggedIn > 0) {
newwin = window.open('http://adsupport.myspace.com/index.cfm?fuseaction=advertiser.imagesubmission&submissionid=1019', 'Creamfields', 'width=760, height=760, toolbar=no, scrollbars=yes, resizable=yes, status=no, copyhistory=no, location=no, menubar=no');
newwin.moveTo(((screen.width/2)-(380)),((screen.height/2)-(380)));
newWin.focus();
 } else {
  alert("Ingresa a tu cuenta de MySpace para subir tus fotos");
 }
}

function viewImage(){
newwin = window.open('http://adsupport.myspace.com/index.cfm?fuseaction=advertiser.imagegallery&galleryid=1019', 'Creamfields', 'width=760, height=760, toolbar=no, scrollbars=yes, resizable=yes, status=no, copyhistory=no, location=no, menubar=no');
newwin.moveTo(((screen.width/2)-(380)),((screen.height/2)-(380)));
newWin.focus();
}

function uploadSong(){
if (isLoggedIn > 0) {
newwin = window.open('http://adsupport.myspace.com/index.cfm?fuseaction=advertiser.bandupload&bandcontestid=1020', 'Creamfields', 'width=760, height=760, toolbar=no, scrollbars=yes, resizable=yes, status=no, copyhistory=no, location=no, menubar=no');
newwin.moveTo(((screen.width/2)-(380)),((screen.height/2)-(380)));
newWin.focus();
 } else {
  alert("Ingresa a tu cuenta de MySpace para participar del concurso");
 }
}

function listenSong(){
if (isLoggedIn > 0) {
newwin = window.open('http://adsupport.myspace.com/index.cfm?fuseaction=advertiser.bandgallery&gid=1020', 'Creamfields', 'width=760, height=760, toolbar=no, scrollbars=yes, resizable=yes, status=no, copyhistory=no, location=no, menubar=no');
newwin.moveTo(((screen.width/2)-(380)),((screen.height/2)-(380)));
newWin.focus();
 } else {
  alert("Ingresa a tu cuenta de MySpace para escuchar los temas favortios");
 }
}

function bases(){
newwin = window.open('http://creative.myspace.com/ar/creamfields/contest/bases.html', 'Creamfields', 'width=780, height=760, toolbar=no, scrollbars=yes, resizable=yes, status=no, copyhistory=no, location=no, menubar=no');
newwin.moveTo(((screen.width/2)-(390)),((screen.height/2)-(380)));
newWin.focus();
}