//  ========================================================
//  tlab-recommend.js ---- recommend view class
//  Copyright 2011 TEAM-LAB
//  ========================================================

if ( typeof(TLAB) == 'undefined' ) TLAB = function() {};

TLAB.Recommend = function (arg1, arg2) {
this.divtag = arg1;
this.itemcd = escape(arg2);
this.jsurl = window.location.protocol + "//www3.asp.team-rec.jp/cl005/recommend.js?elem=" + this.divtag + "&item=" + this.itemcd + "&ctype=1";
return this;
}

TLAB.Recommend.prototype.sendRequest = function () {
var jsElement=document.createElement("script");
jsElement.type="text/javascript";
jsElement.src=this.jsurl;
jsElement.characterSet="UTF-8";
document.getElementById(this.divtag).appendChild(jsElement);
}

TLAB.Personal = function (arg1) {
this.divtag = arg1;
this.jsurl = window.location.protocol + "//www3.asp.team-rec.jp/cl005/personal.js?elem=" + this.divtag;
return this;
}

TLAB.Personal.prototype.sendRequest = function () {
var jsElement=document.createElement("script");
jsElement.type="text/javascript";
jsElement.src=this.jsurl;
jsElement.characterSet="UTF-8";
document.getElementById(this.divtag).appendChild(jsElement);
}

