function clickIE() {
	return false;
}

function clickNS(e) {
	return false;
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS;
} else {
	document.onmouseup=clickNS;
	document.oncontextmenu=clickIE;
}

function OpenSmsPictureEditor(urlis){
 var width = 681;
 var height = 675;
 var ranL= Math.round(Math.random()*100); 
 var ranT= Math.round(Math.random()*100);
 var l = ( screen.width - width )/2;
 var t = ( screen.height - height )/2 - 20;
 url = urlis;
 window.open( url, "_blank", "directories=0,location=0,menubar=no,titlebar=no,toolbar=0,scrollbars=0,resizable=0,left="+l+",top="+t+",width="+width+",height="+height );
}


function setFocusToCode() {
    document.getElementById('putcode').focus();
}


     
        
/*
function setFlash() 
{
if (document.getElementById('flash')){
var flmv = document.getElementById('flash');
flmv.innerHTML= '<object type="application/x-shockwave-flash" data="header.swf" width="994" height="215">'+
'<param name="movie" value="header.swf" />'+
'<param name="quality" value="high" />'+
'<param name="bgcolor" value="#ffffff" />'+
'</object>'; //<param name="wmode" value="transparent">
}
}
*/
