function blogparts_calling3( _num, _volume ){

	getTeaser();

}

function getTeaser(){

	var _style = getStyle();
	var _path = getPath();

	document.write( 
		'<div id="blogparts_calling3_teaser">' +
		_style +
		'<a href="http://iida.jp/calling/?cid=blog_calling3" target="_self"></a>' +
		'</div>'
	);
}

function getStyle(){

	var _path = getPath();

	var _tag = "" ;
	
	_tag = 	'<style><!--' +
			'#blogparts_calling3_teaser { width:187px; height:266px; margin:0; padding:0; background-image:url("'+_path+'data/teaser2.png"); }' +
			'#blogparts_calling3_teaser a{ margin:1px; width:185px; height:250px; display:block; }' +

			'--></style>' +
			
			'<!--[if IE 6]><style>'+
			'#blogparts_calling3_teaser { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+_path+'data/teaser2.png, sizingMethod=scale); }'+
			'#blogparts_calling3_teaser a{ position:absolute; }'+
			'</style><![endif]-->';
	
	return _tag ;
}


function getPath() {

	if( window.location.protocol == "file:" ){
		return "" ;
	}else{
		return "http://iida.jp/calling/blogparts/";
//		return "http://back.iida.jp/calling/blogparts/";
	}
	
}
