function activatePlaceholderTag() {
	//trace("activatePlaceholderTag");
	var detect = navigator.userAgent.toLowerCase();
	if(detect.indexOf("safari") > 0) return false;
	var inputs = [];
	var inputshtml = document.getElementsByTagName("input");
	var textAerashtml = document.getElementsByTagName("textarea");
	for(var j = 0; j<textAerashtml.length; j++) {
		inputs.push(textAerashtml[j]);
	}
	for(var k = 0; k<inputshtml.length; k++) {
		inputs.push(inputshtml[k]);
	}
	
	for (var i=0; i<inputs.length; i++) {
		if(inputs[i].getAttribute("type") == "text") {
			if(inputs[i].getAttribute("placeholder") && inputs[i].getAttribute("placeholder").length > 0) {
				inputs[i].value = inputs[i].getAttribute("placeholder");
				document.getElementById(inputs[i].id).style.color = "#737373";
				inputs[i].onfocus = function () {
					if(this.value == this.getAttribute("placeholder")) {
						this.value = '';
					}
					return false;
				}
				inputs[i].onblur = function() {
					if (this.value.length == 0) {
						this.value = this.getAttribute("placeholder");
						document.getElementById(this.id).style.color = "#737373";
					}
				}
				inputs[i].onkeydown = function() { document.getElementById(this.id).style.color = "#000000";};
			}
		}
	}
}
///window.onload = function () {
	//activatePlaceholderTag();	
//}
