﻿// JScript File
function changeImages(objName,newImgSource) {
	obj = document.getElementById(objName);
	obj.src = newImgSource;
}

function changeText(objName,text){
    obj = document.getElementById(objName);
	obj.innerHTML = text;
}

function progressBar(objImg){
       
    //reset image width
    document.getElementById(objImg).width=(10);
    //make visible
    document.getElementById('spanHide').style.visibility="visible";
    //reset counter
    var count = 0;
    recurProgBar(count); 
}

function recurProgBar(count){
    var counter = count;
    counter = (counter + 1); 
    
    if (document.getElementById("ctl00_ContentPlaceHolder1_Label1").innerHTML == "Email Error!"){
    }
    else{
        if (document.getElementById("ctl00_ContentPlaceHolder1_Label1").innerHTML == "Email Sent...100%" || counter > 5){
                document.getElementById('ProgressBar').width=(150);
                document.getElementById('ctl00_ContentPlaceHolder1_Label1').innerHTML="Email Sent...100%";
        }
        else{
                document.getElementById('ProgressBar').width=(document.getElementById('ProgressBar').width * 1.6);
                var tmppercent = (document.getElementById('ProgressBar').width / 150) * 100;
                var percent = parseInt(tmppercent);
                document.getElementById('ctl00_ContentPlaceHolder1_Label1').innerHTML="Sending Email..." + percent + "%";
                var recur_call = "recurProgBar("+counter+")";
                setTimeout(recur_call, 1000);
             }
    }
    
}





function Emailus() {
	var x = new Array ("6d","61","69","6c","74","6f","3a","44","61","69","6D","6F","6e","53","6f","66","74","40","44","61","69","6D","6F","6e","53","6f","66","74","2e","63","6f","6d" );
	
	var d1 = "";
	var o=x.length;
	for (var i=0; i < o; i++) {
		d1 += '&#x'+(x[i])+';';
	}
	var y = new Array (
		68, 97, 105, 109, 111, 110, 83, 111, 102,  116,
		64,68, 97, 105, 109, 111, 110, 83, 111, 102,  116,
		46,99, 111, 109 );
	var d2 = "";
	var m=y.length;
	for (var z=0; z < m; z++) {
		d2 += '&#'+(y[z])+';';
	}
	document.write ("<a href='" + d1 + "'>" + d2 + "<\/a>" );
}

function EmailSoftwareDev(){
	ML="\"fSi:l=ao<w/tn.vmDchr@e >";
	MI="97GCDF160@735<84281<:7DFAF?EA73@8=281<>B8@0H281<:7DFAF?EA73@8=281<>B8@9;7H";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}document.write(OT);
}

function EmailWebDev(){
	ML="S<ra\":>vefm/Wt@bn=D chli.o";
	MI="13CE289A4:3GF=I5<8?B87>B3G:I@0I9=HDI:46<8?B87>B3G:I@0I9=HDI:1;36";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}
	document.write(OT);
}

function EmailHardwareService(){
	ML="eni<=\"cm.D foaHhtl:@>Sr/wdv";
	MI="3=:?F0;457=2A@<B>=FIH=F0E0FJ260C9=27<1E<;@86<75D>=FIH=F0E0FJ260C9=27<1E<;@86<73G=D";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}
	document.write(OT);
}

function EmailSupport(){
	ML="e:uc io.aDpn@rtfSh=m<l/\">";
	MI="D84A=0?BGC85E>61@2::6=><985C6;@6?>736CGH@2::6=><985C6;@6?>736CDF8H";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}
	document.write(OT);
}

function EmailBilling(){
	ML=" inmBchgtal\"@:fS.o>/=De<r";
	MI="G906HF>D;391:8A=41::127<E913A2?A>8@5A3;B41::127<E913A2?A>8@5A3GC9B";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}document.write(OT);

}

function EmailMTEngineFeedback(){
	ML="tf.db Tk\"=em/Di>gShanEr@l:Mc<Fo";
	MI="LC5BF:198;C>H0NIJ6ED@>D:M::34CK7G=C>;NDAN102KN;8?J6ED@>D:M::34CK7G=C>;NDAN102KN;L<C?";
	OT="";
	for(j=0;j<MI.length;j++){
		OT+=ML.charAt(MI.charCodeAt(j)-48);
	}document.write(OT);

}

function bookmarkUs() {
 title = "Daimon Soft LLC";

 url = "http://www.daimonsoft.com";

	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; 
	}
 }

