popupImage = function( imageName ) { var wndPop = window.open('','popup','width=100,height=100,scrollbars=0'); wndPop.document.write("Digitalspaces Gallery"); wndPop.document.close(); wndPop.focus(); return true; } popupImage1 = function( imageName ) { var wndPop = window.open('','popup','width=400,height=500,scrollbars=1'); wndPop.document.write("DSS Backup Readme"+imageName+""); wndPop.document.close(); wndPop.focus(); return true; } popuptext = function( imageName ) { var wndPop = window.open('','popup','width=400,height=500,scrollbars=1'); wndPop.document.write("DSS Backup Readme"+imageName+""); wndPop.document.close(); wndPop.focus(); return true; } popupmovie = function( movieurl, moviename, moviewidth, movieheight ) { if( navigator.userAgent.toLowerCase().indexOf("win") == -1 ) return window.confirm("This media format cannot be played embedded on your system. Would you like do download it instead?"); var pagestyle = "scrollbars=1"; if( moviewidth ) pagestyle += ( ",width=" + (moviewidth + 100) ); if( movieheight ) pagestyle += ( ",height=" + (movieheight + 100 ) ); if( moviename == undefined ) moviename = "Embedded Movie"; var wndPop = window.open('','popup',pagestyle); wndPop.document.write(""); wndPop.document.write(moviename); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); return false; } popupmovieMOV = function( movieurl, moviename, moviewidth, movieheight ) { var pagestyle = "scrollbars=1"; if( moviewidth ) pagestyle += ( ",width=" + (moviewidth + 100) ); if( movieheight ) pagestyle += ( ",height=" + (movieheight + 100 ) ); if( moviename == undefined ) moviename = "Embedded Movie"; var wndPop = window.open('','popup',pagestyle); wndPop.document.write(""); wndPop.document.write(moviename); wndPop.document.write(''); wndPop.document.write(''); wndPop.document.write(''); return false; } /* var zitem = ""; function lsubmit( xzitem ) { alert("hope it works "+xzitem); var who = "rec_"+xzitem; document.rec_+xzitem.action = "index.php?option=com_contact&Itemid=9" document.rec_+xzitem.submit(); } */ function SubmitItem( sFormName ) {  document[sFormName].submit();  return false; } function con_firm( question ) { like = window.confirm(question); if(like == true) {document.del_1.submit();} else {document.del_0.submit();} }