// JavaScript Document
if (document.images)
{
  pic1= new Image(212,149); 
  pic1.src="http://edgecore.net/americancellular/images/buttons/blue_button.gif"; 
}


var ac = {
	initRollovers: function(e) {
		var ele = document.getElementById(e);
		var imgs = ele.getElementsByTagName("img");
		for(var i=0; i<imgs.length; i++) {
			var preload = new Image();
			preload.src = imgs[i].src.replace(/_off\./, "_on.");
			imgs[i].onmouseover = ac.over;
			imgs[i].onmouseout = ac.out;
		}
		var spans = ele.getElementsByTagName("span");
		for(i=0; i<spans.length; i++) {
			spans[i].parentElement.onmouseover = ac.ie_over;
			spans[i].parentElement.onmouseout = ac.ie_out;
		}
	},
	over: function() {
		this.src = this.src.replace(/_off\./, "_on.");
	},
	out: function() {
		this.src = this.src.replace(/_on\./, "_off.");
	},
	ie_over: function() {
		this.children[0].style.filter = this.children[0].style.filter.replace(/_off\./, "_on.");
	},
	ie_out: function() {
		this.children[0].style.filter = this.children[0].style.filter.replace(/_on\./, "_off.");
	},
	popwin: function(url, name, w, h) {
		var win = window.open(url, name, "width="+w+",height="+h+",scrollbars,resizable");
		win.focus();
		return false;
	}
};