var frame_width; var frame_height;
switch(seesaa_template_id){
 case '4001':
   frame_width = 380; frame_height = 70;
   break;
 case '4002':
   frame_width = 300; frame_height = 100;
   break;
}
document.write('<ifr' + 'ame name="maad" src="http://match.seesaa.jp/ot_square.pl?'
	       + 'hid='  + seesaa_hostsite_id
	       + '&sid=' + seesaa_site_id     
	       + '&tid=' + seesaa_template_id + '_269g'
	       + '&gid=' + seesaa_genre_id
	       + '&aid=' + seesaa_article_id
	       + '&k='   + seesaa_keyword_list
	       + '&ic='  + seesaa_keyword_char
	       
	       + '"');
document.write(' width="'  + frame_width  + '"' +
	       ' height="' + frame_height + '"' +
	       ' scrolling="no" frameborder="no" marginwidth="0" marginheight="0" allowTransparency="true"></ifr' + 'ame>');
