function get_code(n) {
document.forms["MyForm_"+n].elements["dob_code_"+n].select();
var hv=document.forms["MyForm_"+n].elements["dob_code_"+n].createTextRange();
hv.execCommand("Copy");
}
//Insert Emots
function insertemot (emotcode) {
var current=document.getElementById('text_all');
var emot="[emot]"+emotcode;
if (current) {
if (current.value!='' && current.value!=null) {
current.value+=emot;
}
else {
current.value=emot;
}
document.getElementById('text_all').focus();
current.value = current.value;
}
}
function insertemot1 (emotcode) {
var current=document.getElementById('text_all');
var emot="<"+emotcode+">";
if (current) {
if (current.value!='' && current.value!=null) {
current.value+=emot;
}
else {
current.value=emot;
}
document.getElementById('text_all').focus();
current.value = current.value;
}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i=4) setVariables();
}
var x,y,a,b;
function setVariables(){
if (navigator.appName == "Netscape") {
h=".left=";
v=".top=";
dS="document.";
sD="";
} else {
h=".pixelLeft=";
v=".pixelTop=";
dS="";
sD=".style";
}
}
var isNav = (navigator.appName.indexOf("Netscape") !=-1);
function handlerMM(e){
x = (isNav) ? e.pageX : event.clientX;
y = (isNav) ? e.pageY : event.clientY;
}
if (isNav) {
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
//-->
-->