﻿var CategoryRootDiv = document.createElement('DIV');

//初始化职位类别Div
function InitCategoryDiv()
{
    var html = "    <iframe id=\"ifrmCategory\" frameborder=\"0\" scrolling=\"no\" width=\"98%\">"+
    "	<\/iframe>"+
    "	<table id=\"tableCategoryBottomTable\" class=\"layerall\" cellspacing=\"0\" cellpadding=\"0\" "+
    ""+
    "style=\"Z-INDEX: 1000; LEFT: 0px; POSITION: absolute; TOP: 0px;\">"+
    "        <tr>"+
    "            <td class=\"layerall_lefttopconer\" >"+
    "            <\/td>"+
    "            <td class=\"layerall_c_bg\" >"+
    "            <\/td>"+
    "            <td class=\"layerall_righttopconer\" >"+
    "            <\/td>"+
    "        <\/tr>"+
    "        <tr>"+
    "            <td class=\"layerall_c_bg\">"+
    "            <\/td>"+
    "            <td class=\"layerall_c_bg\">"+
    "                <div class=\"c_top\">"+
    "                    <h3 id=\"h3CategoryMaxLableSingle\">请选择职位类别</h3>"+
    "                    <h3 id=\"h3CategoryMaxLable\">"+
    "                        请选择职位类别(最多可选"+
    "<span id=\"spCategoryMaxCount\"><\/span>" +
    "项)"+
    "                    <\/h3>"+
    "                 <div style='TEXT-ALIGN: right'>   <img style=\"cursor:pointer\" src=\""+
    "http://www.020job.com/images/com/c_close.gif"
    +"\" alt=\"点击关闭\" "+
    ""+
    "onclick=\"CancelSelectedCategory()\" \/><\/div>"+
    "                <\/div>"+
    "                <div class=\"layercontent\" >"+
    "                    <div class=\"seletCategory\">"+
    "                    <\/div>"+
    "                    <div class=\"contain\" id=\"ContainerDiv\" >"+
    "                        <table id=\"tableCategoryLayer\" cellspacing=\"0\" cellpadding=\"0\" >"+
    "                        <\/table>"+
    "                        <!--已选择的职位类别表格-->"+
    "                        <table class=\"selected\" id=\"tableSelectedCategoryLayer\" cellspacing=\"0\" "+
    ""+
    "cellpadding=\"0\" >"+
    "                        <\/table>"+
    "                        <div class=\"button_block1\">"+
    "                            <input type=\"button\" class=\"bigbuttonYes\" value=\"\" "+
    ""+
    "onclick=\"ConfirmSelectedCategory()\" \/>"+
    "                            <input type=\"button\" class=\"bigbuttonClose\" value=\"\" "+
    ""+
    "onclick=\"CancelSelectedCategory()\" \/>"+
    "                        <\/div>"+
    "                    <\/div>"+
    "                <\/div>"+
    "            <\/td>"+
    "            <td class=\"layerall_rightside\">"+
    "            <\/td>"+
    "        <\/tr>"+
    "        <tr>"+
    "            <td class=\"layerall_leftbottomconer\">"+
    "            <\/td>"+
    "            <td class=\"layerall_bottomconer\">"+
    "            <\/td>"+
    "            <td class=\"layerall_rightbottomconer\">"+
    "            <\/td>"+
    "        <\/tr>"+
    "    <\/table>";
    CategoryRootDiv.id = CategoryLayerDivName;
    CategoryRootDiv.style.display = 'none';
    CategoryRootDiv.style.position = 'absolute';
    CategoryRootDiv.style.border = '0';
    CategoryRootDiv.style.zIndex = '1000';
    CategoryRootDiv.style.backgroundColor = 'Transparent';
    CategoryRootDiv.className = 'layerall';
    CategoryRootDiv.innerHTML = html;
}
