jQuery(function(){
jQuery('iframe.#if1').exFitFrame();
jQuery.ajax({
  url: "/web-tool/osusume/?ZN=110068&CB=C",
  cache: false,
  success: function(html){
	jQuery("#osusume_chintai_list p").remove();
	jQuery("#osusume_chintai_list").append(html);
	jQuery("#osusume_chintai_list table table:first").css({"display": "none"});
	jQuery("#osusume_chintai_list table table a").each(function(){
if(!jQuery.support.opacity){
	if(!jQuery.support.style){
		if (typeof document.documentElement.style.maxHeight != "undefined") {
		//alert('IE7');
		var newurl = jQuery(this).attr('href').replace(/http:\/\/www\.kk-miyaken\.co\.jp\//, 'http://www.kk-miyaken.co.jp/web-tool/');
		}
		else {
		//alert('IE6');
		var newurl = jQuery(this).attr('href').replace(/http:\/\/www\.kk-miyaken\.co\.jp\//, 'http://www.kk-miyaken.co.jp/web-tool/');
		}
	}else{
	//alert('IE8');
	var newurl = jQuery(this).attr('href').replace(/\..\//ig, '/web-tool/');
	}
}else{
var newurl = jQuery(this).attr('href').replace(/\..\//ig, '/web-tool/');
}
			//var newurl = jQuery(this).attr('href').replace(/\..\//ig, '/web-tool/');
			//var newurl = jQuery(this).attr('href').replace(/http:\/\/debug1\.ca-style\.com\//, 'http://debug1.ca-style.com/webtool/');
			//var newurl = jQuery(this).attr('href').replace(/http:\/\/www\.kk-miyaken\.co\.jp\//, 'http://www.kk-miyaken.co.jp/webtool/');
			//var newurl = jQuery(this).attr('href').replace(/chintai/ig, '/web-tool/');
			//alert(jQuery(this).attr('href'));
			
		//alert(jQuery(this).attr('href'));
		jQuery(this).attr('href', newurl);
	});
	
	
  }
});
});
