
function iframeResizing(height)
{

	var ifrm = document.getElementById("ifrm_tabnote-border");
	ifrm.height =parseInt(height) + 50;
	
}
function reSizing()
{


	var ifrm = document.getElementById("ifrm_tabnote-border");
	var s_height = ifrm.contentWindow.document.body.scrollHeight;


}
(function(){
	var box = document.getElementById("tabnote-border");
	var w = box.getAttribute("data-width");

	var content = "<iframe src=\"http://tabnote.net/Api\" id=\"ifrm_tabnote-border\" scrolling=\"no\" style=\"border:none;\"> </iframe>";
	box.innerHTML = content;
	var ifrm = document.getElementById("ifrm_tabnote-border");
	var tmp_width = w != '' ? w+"px" : "100%";
	var s_height = ifrm.contentWindow.document.body.scrollHeight;
	ifrm.width = tmp_width;
	ifrm.style.height = s_height;


}());


