
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&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<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}







function statusbar(val)
{
	var msg  = " WELCOME TO MELCOLE PUBLIC RELATIONS , India's leading Independent Professional PR Agency, Pioneer in setting up speciality practice areas : Public Affairs, Tech Practice and Health Care ,Wide Range of PR Services Backed by Success Stories , @ Copyright MelCole Public Relations , 2007 Site Best Viewed in 800* 600 Display ";
	var res = " ";
	var speed = 100;
	var pos = val;
	
	if (pos > 0) {
		for (var position=0 ; position< pos; position++) {
			res += " ";
		}
		res+=msg;
		pos--;
		window.status = res;
		timer = window.setTimeout("statusbar("+pos+")",speed);
	}
	else{
		if( -pos < msg.length) {
			res += msg.substring(-pos,msg.length);
			pos--;
			window.status=res;
			timer = window.setTimeout("statusbar("+pos+")",speed);
		}
		else
		{
			window.status= " ";
			timer = window.setTimeout("statusbar(100)",speed);
		}
	}
}
statusbar(100);





function MakeArrayday(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function MakeArraymonth(size) {
this.length = size;
for(var i = 1; i <= size; i++) {
this[i] = "";
}
return this;
}
function funClock() {
if (!document.layers && !document.all)
return;
var runTime = new Date();
var hours = runTime.getHours();
var minutes = runTime.getMinutes();
var seconds = runTime.getSeconds();
var dn = "AM";
if (hours >= 12) {
dn = "PM";
hours = hours - 12;
}
if (hours == 0) {
hours = 12;
}
if (minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds <= 9) {
seconds = "0" + seconds;
}
movingtime = "<font color='#000000' face='tahoma' size=1><b>"+ hours + ":" + minutes + ":" + seconds + " " + dn + "</font></b>";
if (document.layers) {
document.layers.clock.document.write(movingtime);
document.layers.clock.document.close();
}
else if (document.all) {
clock.innerHTML = movingtime;
}
setTimeout("funClock()", 1000)
}
window.onload = funClock;



function nameDefined(c,n) {
 var s=removeBlanks(c)
 var pairs=s.split(";")
 for(var i=0;i<pairs.length;++i) {
  var pairSplit=pairs[i].split("=")
  if(pairSplit[0]==n) return true
 }
 return false
}
function removeBlanks(s) {
 var temp=""
 for(var i=0;i<s.length;++i) {
  var c=s.charAt(i)
  if(c!=" ") temp += c
 }
 return temp
}
function getCookieValue(c,n) {
 var s=removeBlanks(c)
 var pairs=s.split(";")
 for(var i=0;i<pairs.length;++i) {
  var pairSplit=pairs[i].split("=")
  if(pairSplit[0]==n) return pairSplit[1]
 }
 return ""
}
function insertCounter() {
 readCookie()
 displayCounter()
}
function displayCounter() {
 document.write('')
 document.write("Welcome! Vistor : ")
 if(counter==1) document.write("for the first time.")
 else document.write(counter+" ")
 document.writeln('')
}
function readCookie() {
 var cookie=document.cookie
 counter=0
 if(nameDefined(cookie,"pageCount"))
  counter=parseInt(getCookieValue(cookie,"pageCount"))
 ++counter
 var newCookie="pageCount="+counter
 newCookie += "; expires=Wednesday, 10-Nov-10 23:12:40 GMT"
 window.document.cookie=newCookie
}












//-->