window.resizeIframe = function (obj) {
obj.style.height = ($(obj.contentWindow.document.body).find('div').first()[0].scrollHeight) + 'px';
$(obj.contentWindow.document.body).find('a').each(function(){
$(this).attr('target', '_blank');
var href = $(this).attr('href');
href = href.replace(/^.*q=(.*?)&.*$/, "$1");
$(this).attr('href', href);
});
}
$('.docs_import_div').each(function(){