if(!window.eventcast_username) { eventcast_username = ""; }
if(!window.eventcast_tag) { eventcast_tag = ""; }
if(!window.eventcast_page_max) { eventcast_page_max = "10"; }
if(!window.eventcast_associate_id) { eventcast_associate_id = "eventcastjp-22"; }
if(!window.eventcast_trim) { eventcast_trim = "0"; } 
if(!window.eventcast_background) { eventcast_background = "ffffff"; }
if(!window.eventcast_odd) { eventcast_odd = "ffffff"; }
if(!window.eventcast_even) { eventcast_even = "ffffff"; }
if(!window.eventcast_text) { eventcast_text = "000000"; }
if(!window.eventcast_link) { eventcast_link = "0033ff";}
if(!window.eventcast_width) { eventcast_width = "200"; }
if(!window.eventcast_height) { eventcast_height = "300"; }
if(!window.eventcast_border) { eventcast_border = "ffffff"; }

eventcast_url = 'http://clip.eventcast.jp/embed/?username=' + eventcast_username + '&tag=' + eventcast_tag + '&trim=' + eventcast_trim + '&page_max=' + eventcast_page_max + '&associate_id=' + eventcast_associate_id + '&background=' + eventcast_background + '&odd=' + eventcast_odd + '&even=' + eventcast_even + '&text=' + eventcast_text + '&link=' + eventcast_link;

document.write('<ifr' + 'ame src="' + eventcast_url + '" marginwidth="0" marginheight="0" width="' + eventcast_width + '" height="' + eventcast_height + '" border="0" frameborder="0" style="border:1px solid #' + eventcast_border + '" scrolling="auto"></iframe>');
