﻿String.prototype.Trim = function() { 
var m = this.match(/^\s*(\S+(\s+\S+)*)\s*$/); 
return (m == null) ? "" : m[1]; 
}
String.prototype.isMobile = function() {     
return (/^(?:13\d|15[089])-?\d{5}(\d{3}|\*{3})$/.test(this.Trim())); 
}
function $$$(id)
{
    return window.document.getElementById(id);
}
function loadCode()
{
    var ran =0;  
    ran =Math.floor(Math.random()*10);
    ran+=Math.floor(Math.random()*10);
    $$$("img_code").src="Image.aspx?"+ran;
}
