// measures against flicker
try {
	document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}

// form reset
function clear() {
	this.form.reset(); return false;
}

$(function(){
	//別窓ウインドウ
	$('a[href^="http"]').not('[href*="'+document.domain+'"]').click(function(){
		window.open(this.href, "_blank");
		return false;
	}).each(function() {
		$(this.parentNode).addClass('external');
	});
});