
(function() {
var f = document.getElementById('search');

if (f && f.q) {
var q = f.q;
var n = navigator;
var l = location;
if (n.platform == 'Win32') {
q.style.cssText = '';
}
var b = function() {
if (q.value == '') {
q.style.background = 'url(/images/forms/search-off.gif) left no-repeat';
}
};
var f = function() {
q.style.background = 'url(/images/forms/search-on.gif) left no-repeat';
};
q.onfocus = f;
q.onblur = b;
if (!/[&?]q=[^&]/.test(l.search)) {
b();
}
}
})();

var blank = 'url(/images/forms/blank.gif) left no-repeat';

(function() {
var f = document.getElementById('signup');

if (f && f.name) {
var name = f.name;
var n = navigator;
var l = location;
if (n.platform == 'Win32') {
name.style.cssText = '';
}
var b = function() {
if (name.value == '') {
name.style.background = 'url(/images/forms/your-name.gif) left no-repeat';
}
};
var f = function() {
name.style.background = blank;
};
name.onfocus = f;
name.onblur = b;
if (!/[&?]q=[^&]/.test(l.search)) {
b();
}
}
})();

(function() {
var f = document.getElementById('signup');

if (f && f.email) {
var email = f.email;
var n = navigator;
var l = location;
if (n.platform == 'Win32') {
email.style.cssText = '';
}
var b = function() {
if (email.value == '') {
email.style.background = 'url(/images/forms/email-address.gif) left no-repeat';
}
};
var f = function() {
email.style.background = blank;
};
email.onfocus = f;
email.onblur = b;
if (!/[&?]q=[^&]/.test(l.search)) {
b();
}
}
})();

(function() {
var f = document.getElementById('signup');

if (f && f.company) {
var company = f.company;
var n = navigator;
var l = location;
if (n.platform == 'Win32') {
company.style.cssText = '';
}
var b = function() {
if (company.value == '') {
company.style.background = 'url(/images/forms/company.gif) left no-repeat';
}
};
var f = function() {
company.style.background = blank;
};
company.onfocus = f;
company.onblur = b;
if (!/[&?]q=[^&]/.test(l.search)) {
b();
}
}
})();

(function() {
var f = document.getElementById('signup');

if (f && f.phone) {
var phone = f.phone;
var n = navigator;
var l = location;
if (n.platform == 'Win32') {
phone.style.cssText = '';
}
var b = function() {
if (phone.value == '') {
phone.style.background = 'url(/images/forms/phone.gif) left no-repeat';
}
};
var f = function() {
phone.style.background = blank;
};
phone.onfocus = f;
phone.onblur = b;
if (!/[&?]q=[^&]/.test(l.search)) {
b();
}
}
})();