if( typeof(GlamWidgetData)=='undefined' ) { var GlamWidgetData = {}; GlamWidgetData.ports = [{"title":"「GODIVA deバレンタイン」大作戦... [BAILA]","url":"http://www.s-woman.net/baila/godiva1002/"},{"title":"ルナソル春のコレクション「絶景浄化」... [Glam]","url":"http://www.glam.jp/beauty/lunasol/"},{"title":"ビューティー誌3大サイトドリームコラボ... [Glam]","url":"http://www.glam.jp/beauty/granas/vol2/"},{"title":"トレンド先取り「最旬!春メイク」... [Glam]","url":"http://www.glam.jp/beauty/lunasol/page02.html"},{"title":"「あたため美容」でもっと美しく... [Kirei Style]","url":"http://kirei.biglobe.ne.jp/studyroom/index-g.html"}]; } var html; var resizejs = 'http://jp.glammedia.com/widgets/js/minmax.js'; Array.prototype.shuffle = function() { var len = this.length; var i = this.length; while(i) { var j = Math.floor(Math.random()*i); var t = this[--i]; this[i] = this[j]; this[j] = t; } var hitNum = 0; len = this.length; // search !! and put them up for(i=0; i0){ this[i] = this[hitNum]; this[hitNum] = t; } t.title = t.title.substring(2); hitNum++; } } if(hitNum == 0){ for(i=0; i0){ this[i] = this[hitNum]; this[hitNum] = t; } t.title = t.title.substring(2); hitNum++; } } if(hitNum > 0){ for(i=0; i<5; i++){ var i2 = Math.floor(Math.random()*5); var i3 = Math.floor(Math.random()*5); if(i2 != i3){ var t = this[i2]; this[i2] = this[i3]; this[i3] = t; } } } } len = this.length; return this; } shuffleGlamWidgetData = GlamWidgetData.ports.shuffle(); html = ''; html += ''; html += '
'; html += '
' html += 'Glam'; html += '注目記事のご紹介'; html += '
'; html += '
'; var i=0; while( i'+ shuffleGlamWidgetData[i].title +'

'; i++; if( i==5 ) { break; } } html += 'Glam'; html += '
'; html += '
Glam Media
'; html += ''; document.write( html );