var imgStr = '<div id="yui-sldshw-displayer1" class="yui-sldshw-displayer" style="height:250px;width:650px;">';
// 1枚目のリンク先と画像のURL（httpから）
imgStr += '<a href="http://www.kddi.com/business/call_direct/index.html" target="_blank">';
imgStr += '<img src="slide/01.jpg" border="0" class="yui-sldshw-active yui-sldshw-frame" id="frame_1"></a>';
// 2枚目のリンク先と画像のURL（httpから）
imgStr += '<a href="http://www.kddi.com/business/keitai_denwa/lineup/e05sh/index.html" target="_blank">';
imgStr += '<img src="slide/02.jpg" border="0" class="yui-sldshw-cached yui-sldshw-frame" id="frame_2"></a>';
// 3枚目のリンク先と画像のURL（httpから）
imgStr += '<a href="http://www.kddi.com/business/keitai_denwa/lineup/e07k/index.html" target="_blank" >';
imgStr += '<img src="slide/03.jpg" border="0" class="yui-sldshw-cached yui-sldshw-frame" id="frame_3"></a>';
// 4枚目のリンク先と画像のURL（httpから）
imgStr += '<a href="http://www.kddi.com/business/keitai_web_filtering/index.html" target="_blank">';
imgStr += '<img src="slide/04.jpg" border="0" class="yui-sldshw-cached yui-sldshw-frame" id="frame_4"></a>';
// idの末尾数を増やす事で画像の枚数が追加できます。1枚目のimgのclassだけ違うので注意
imgStr += '</div>';
document.write(imgStr);