");
}
/********************************************************************************************************** ±Û¾²±â */
//µ¥ÀÌÅ͵î·Ïüũ
function WriteCheck()
{
var f = document.WriteForm;
if (f.isRoot.value == "0" && f.mbid.value == "" && f.BB_NAME.value == "")
{
alert('\nÀ̸§À» ÀÔ·ÂÇØ ÁÖ¼¼¿ä. \n');
f.BB_NAME.focus();
return false;
}
if (f.BB_EMAIL.value)
{
if ( f.BB_EMAIL.value.length <= 6 || f.BB_EMAIL.value.indexOf ('@', 0) == -1 || f.BB_EMAIL.value.indexOf ('.', 0) == -1)
{
alert('À̸ÞÀÏÁÖ¼Ò°¡ ¿Ã¹Ù¸£Áö ¾Ê½À´Ï´Ù. \n');
f.BB_EMAIL.value = "";
f.BB_EMAIL.focus();
return false;
}
}
if (f.BB_SUBJECT.value == "")
{
alert('\nÁ¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä. \n');
f.BB_SUBJECT.focus();
return false;
}
if (f.is_category.value)
{
if (!f.BB_CATEGORY.value)
{
alert('\n' + f.BB_CATEGORY.options[0].text + 'À»(¸¦) ¼±ÅÃÇØ ÁÖ¼¼¿ä. \n');
f.BB_CATEGORY.focus(); //ÀϹݼ¿·ºÆ®»ç¿ë½Ã
return false;
}
}
if(getEditCheck(f)) return false; //¿¡µðÅͺ»¹®Ã¼Å©
if (CheckWords(f.BB_SUBJECT.value) != '' || CheckWords(f.BB_CONTENT.value) != '')
{
alert('\n°ü¸®ÀÚ¿¡ ÀÇÇØ Á¦ÇÑµÈ ´Ü¾î°¡ »ç¿ëµÇ¾ú½À´Ï´Ù. \n');
return false;
}
if (f.BB_SECRET.checked == true)
{
if (f.BB_PASS.value == "")
{
alert('\nºñ°ø°³±Û·Î µî·ÏÇÒ °æ¿ì¿¡´Â ¹Ýµå½Ã ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼Å¾ß ÇÕ´Ï´Ù. \n');
f.BB_PASS.focus();
return false;
}
}
if (f.useup.value != '0')
{
f.BB_FILE.value = getUploadFiles(); //¾÷·Îµåüũ
}
if (f.uselk.value != '0')
{
f.BB_LINK.value = getLinkFiles(); //¸µÅ©Ã¼Å©
}
f.Nparam.value = NparamSetting();
}
//¿É¼ÇÃâ·Âüũ
function OptionCheck()
{
var home = document.getElementById('Option_Url');
var prev = document.getElementById('Option_Preview');
var img = document.getElementById('Option_Img');
var f = document.WriteForm;
if(!f.mbid.value)
{
if (home.style.display == 'none') { home.style.display = 'block'; } else { home.style.display = 'none'; }
}
if (prev.style.display == 'none') { prev.style.display = 'block'; } else { prev.style.display = 'none'; }
if (img.src.indexOf('dot_option.gif') != -1)
{
img.src = img.src.replace('dot_option.gif','dot_option1.gif');
}
else {
img.src = img.src.replace('dot_option1.gif','dot_option.gif');
}
}
//À̵¿°æ·Îüũ
function NparamSetting()
{
var pam = getThisUrl();
pam += '&query=' + getUriString('query');
pam += '&write_type=' + getUriString('write_type');
pam += '&uid=' + getUriString('uid');
pam += '&p=' + getUriString('p');
return pam;
}
/********************************************************************************************************** ¸ÖƼüũ */
var Multi_Check_Uid = '';
function Multi_Check(obj,e,skindir,isRoot,isAdmin)
{
var ml = document.getElementById('MultiCheckLayer');
var tg = '';
var x = (e.pageX) ? e.pageX : document.body.scrollLeft+event.clientX;
var y = (e.pageY) ? e.pageY : document.body.scrollTop+event.clientY;
x += 10; y -= 20;
if (obj.checked == true) Multi_Check_Uid += obj.value + ';';
else Multi_Check_Uid = Multi_Check_Uid.replace(obj.value + ';' , '');
if (Multi_Check_Uid)
{
var multiarr = Multi_Check_Uid.split(';');
tg += "";
tg += "";
tg += " ";
tg += " ";
tg += " ";
tg += " ";
tg += "";
tg += " ";
if(isRoot != 0 || isAdmin != 0)
{
tg += " ";
if (isRoot != 0)
{
tg += " ";
tg += " ";
}
}
if(isRoot == 0 && isAdmin == 0)
{
tg += "(¼±ÅÃµÈ ÀÚ·á : "+(multiarr.length-1)+") ";
}
tg += " ";
tg += "
";
ml.innerHTML = tg;
}
else {
ml.innerHTML = '';
}
}
function Multi_Check_Que(n)
{
var i;
var l = document.getElementsByName('At[]');
switch (n)
{
case 1 :
Multi_Check_Uid = '';
for ( i = 0; i < l.length; i++)
{
l[i].checked = true;
Multi_Check_Uid += l[i].value + ';';
}
break;
case 2 :
Multi_Check_Uid = '';
for ( i = 0; i < l.length; i++)
{
l[i].checked = false;
Multi_Check_Uid = Multi_Check_Uid.replace(l[i].value + ';' , '');
}
break;
case 3 :
Multi_Check_Uid = '';
for ( i = 0; i < l.length; i++)
{
if(l[i].checked == true)
{
l[i].checked = false;
Multi_Check_Uid = Multi_Check_Uid.replace(l[i].value + ';' , '');
}
else {
l[i].checked = true;
Multi_Check_Uid += l[i].value + ';';
}
}
break;
case 4 :
if (!Multi_Check_Uid) return false;
location.href = getThisUrl() + '&query=multi&p=' + getUriString('p') + '&MultiUid=' + Multi_Check_Uid;
break;
case 5 :
if (!Multi_Check_Uid) return false;
if (!confirm('»èÁ¦µÈ µ¥ÀÌÅÍ´Â º¹±¸°¡ ºÒ°¡´ÉÇÕ´Ï´Ù. \n\nÁ¤¸»·Î »èÁ¦ÇϽðڽÀ´Ï±î?')) return false;
location.href = getThisUrl() + '&action=multi_delete&p=' + getUriString('p') + '&MultiUid=' + Multi_Check_Uid;
break;
case 6 :
if (!Multi_Check_Uid) return false;
window.open('./bbs/lib/module/mvcopy/mvcopy.php?table='+getUriString('table')+'&type=move&MultiUid='+Multi_Check_Uid,'mvcopywin','left=0,top=0,width=300,height=450');
break;
case 7 :
if (!Multi_Check_Uid) return false;
window.open('./bbs/lib/module/mvcopy/mvcopy.php?table='+getUriString('table')+'&type=copy&MultiUid='+Multi_Check_Uid,'mvcopywin','left=0,top=0,width=300,height=450');
break;
}
}
/********************************************************************************************************** ÄÚ¸àÆ® */
//ÄÚ¸àÆ®µî·Ï üũ
function CommentCheck(f)
{
if (f.write_perm.value == '0')
{
alert('Á˼ÛÇÕ´Ï´Ù. Àǰߵî·Ï ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ');
f.RP_CONTENT.disabled = true;
f.RP_CONTENT.style.background = '#EFEFEF';
return false;
}
if (f.RP_CONTENT.value == "")
{
alert('ÀǰßÀÌ ÀԷµÇÁö ¾Ê¾Ò½À´Ï´Ù. ');
f.RP_CONTENT.focus();
return false;
}
if (CheckWords(f.RP_CONTENT.value) != '')
{
alert('\n°ü¸®ÀÚ¿¡ ÀÇÇØ Á¦ÇÑµÈ ´Ü¾î°¡ »ç¿ëµÇ¾ú½À´Ï´Ù. \n');
return false;
}
if (!f.RP_NAME.value || f.RP_NAME.value == 'À̸§' )
{
alert('À̸§ÀÌ ÀԷµÇÁö ¾Ê¾Ò½À´Ï´Ù. ');
f.RP_NAME.focus();
return false;
}
if (!f.isPass.value)
{
if (!f.RP_PASS.value || f.RP_PASS.value == 'ºñ¹Ð¹øÈ£')
{
if (!confirm('\nºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏÁö ¾ÊÀ¸½Ã¸é »èÁ¦°¡ ºÒ°¡´ÉÇÕ´Ï´Ù. \n\nºñ¹Ð¹øÈ£ ÀԷ¾øÀÌ µî·ÏÇϽðڽÀ´Ï±î?\n'))
{
f.RP_PASS.focus();
return false;
}
}
}
if (!confirm('\nÀÔ·ÂÇϽŠÄÚ¸àÆ®¸¦ µî·ÏÇϽðڽÀ´Ï±î? \n'))
{
return false;
}
/*
if (f.useup.value != '0')
{
f.RP_FILE.value = getUploadFiles();
}
if (f.uselink.value != '0')
{
f.RP_LINK.value = getLinkFiles();
}
*/
f.Nparam.value = getThisUrl() + '&query=view&uid=' + getUriString('uid') + '&p=' + getUriString('p');
}
//ÄÚ¸àÆ®Á¡¼ö¼±Åà Ãâ·Â
function getCommentVote(use)
{
if (use)
{
var tag = "";
tag += "";
tag += " Æò°¡Á¡¼ö : ";
tag += "¡Ú¡Ú¡Ú¡Ú¡Ú ";
tag += "¡Ú¡Ú¡Ú¡Ú¡Ù ";
tag += "¡Ú¡Ú¡Ú¡Ú ";
tag += "¡Ú¡Ú¡Ú¡Ù ";
tag += "¡Ú¡Ú¡Ú ";
tag += "¡Ú¡Ú¡Ù ";
tag += "¡Ú¡Ú ";
tag += "¡Ú¡Ù ";
tag += "¡Ú ";
tag += "¡Ù ";
tag += " ";
document.write(tag);
if(navigator.userAgent.indexOf('Opera') == -1 && navigator.userAgent.indexOf('Netscape') == -1)
{
getSelectToLayer(document.getElementById('RP_VOTE'),100,'');
}
}
}
//ÄÚ¸àÆ®ºñÀúºí
function getCommentVisible(obj)
{
var l = document.getElementById('Comment_Layer');
if(obj.src.indexOf('_show.gif') != -1)
{
obj.src = obj.src.replace('_show.gif', '_hide.gif');
l.style.display = 'block';
}
else
{
obj.src = obj.src.replace('_hide.gif', '_show.gif');
l.style.display = 'none';
}
}
//ÄÚ¸àÆ®µî·Ï±ÇÇÑ Ã¼Å©-ºñ±ÇÇÑ-> display : none
function CommentWritePermCheck()
{
var f = document.CommentForm;
var l = document.getElementById('CommentTable');
if (f.write_perm.value == '0')
{
l.style.display = 'none';
}
else{
l.style.display = 'block';
}
}
function getCWriteVisible(id)
{
if (id == '')
{
alert('·Î±×ÀÎÇØ ÁÖ¼¼¿ä. ');
return false;
}
var l = document.getElementById('CommentWriteTbl');
if(l.style.display == 'none')
{
l.style.display = 'block';
}
else
{
l.style.display = 'none';
}
}
//ÄÚ¸àÆ® À¥¿¡µðÅ͸µÅ©Ãâ·Âüũ
function getCommentEditLink(op,skinimg)
{
if (op)
{
document.write("");
document.write("[¿¡µðÅÍ] ");
}
}
/********************************************************************************************************** ÷ºÎ,¸µÅ© ÆÄÀÏ */
//ÆÄÀÏ÷ºÎüũ
function getUpfileNumIcon(enable , files , num , down , table, uid, skin , link , where , cols)
{
if (num > 0)
{
var string = "";
string += "";
string += " ÷ºÎÆÄÀÏ " + num + " °³ ";
string += "(´Ù¿î·Îµå "+commaSplit(down)+" °Ç) ";
string += "
";
document.write(string);
}
}
//ÆÄÀÏ·¹À̾î show
function showLayerUpfile(enable , files , table , uid , where , cols , num , link , skin , down , e)
{
if (!enable)
{
alert('Á˼ÛÇÕ´Ï´Ù. ´Ù¿î·Îµå ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ');
return false;
}
var x = (e.pageX) ? e.pageX : document.body.scrollLeft+event.clientX;
var y = (e.pageY) ? e.pageY : document.body.scrollTop+event.clientY;
var to = "";
var tl = document.getElementById('tmp_Upfile_Show_Layer');
var ly = LayerUpfile(enable , files + link , table, uid , where , cols , 'return');
var wt = parseInt(num/cols) > 0 ? cols * 220 : (num%cols) * 220;
wt = num == 1 ? 270 : wt;
tl.style.position = 'absolute';
tl.style.left = x;
tl.style.top = y;
to += "";
to += " ";
to += " ";
to += "";
to += " ÷ºÎÆÄÀÏ " + num + " °³ ";
to += "(´Ù¿î·Îµå "+commaSplit(down)+" °Ç) ";
to += " ´Ý±â ";
to += " ";
to += " ";
to += "" + ly + " ";
to += "
";
tl.innerHTML = to;
document.getElementById('upFile_Tmp_Layer').style.background = '#F5F3F5';
document.getElementById('upFile_Tmp_Layer').style.width = '100%';
}
//ÆÄÀÏ·¹À̾î Á¦°Å
function hideLayerUpfile()
{
document.getElementById('tmp_Upfile_Show_Layer').innerHTML = "";
}
//̵̧
function putReq(table,uid)
{
if (!confirm('Á¤¸»·Î ÃßõÇϽðڽÀ´Ï±î? '))
{
return false;
}
frames.requestframe.location.href = './bbs.php?table=' + table + '&action=request&uid='+uid;
}
function Skin_Subject(sbj,uid,sec,mbid,cut)
{
//cut = parseInt((cut-70)/10);
if (ViewPerm)
{
if (uid != guid) {
document.write("" + getCutString(sbj,cut,'') + " " );
} else{
document.write("" + getCutString(sbj,cut,'') + " ");
}
}
else
{
document.write(getCutString(sbj,cut,'..'));
}
}
function Skin_Name(root,name)
{
if (root == 1)
{
document.write(" ");
}else{
document.write(""+ name +" ");
}
}
//À̹ÌÁö¹Ú½º º¸À̱â
function Skin_ImgView(file,link,e,uid)
{
var i;
var j=0;
var Tmp_FileArr = file.split(';');
var Tmp_LinkArr = link.split(';');
var colnum = 3;
var Tmp_FileNum = file != '' ? Tmp_FileArr.length-1 : 0;
var Tmp_LinkNum = link != '' ? Tmp_LinkArr.length-1 : 0;
var filenum = Tmp_FileNum + Tmp_LinkNum;
if(filenum > 1)
{
var Layer_Tag = "";
Layer_Tag += "";
Layer_Tag += "";
Layer_Tag += "";
Layer_Tag += " ";
Layer_Tag += " ";
Layer_Tag += "";
Layer_Tag += " ÷ºÎ À̹ÌÁöµé ";
Layer_Tag += " ";
Layer_Tag += " ";
Layer_Tag += " ";
Layer_Tag += "
";
Layer_Tag += " ";
for (i = 0; i < Tmp_FileArr.length; i++)
{
j++;
if (Tmp_FileArr[i] == '') continue;
Layer_Tag += " ";
if ((j%colnum) == 0)
{
Layer_Tag += " ";
}
}
for (i = 0; i < Tmp_LinkArr.length; i++)
{
j++;
if (Tmp_LinkArr[i] == '') continue;
Layer_Tag += " ";
if ((j%colnum) == 0)
{
Layer_Tag += " ";
}
}
Layer_Tag += "
";
var l = document.getElementById('tmp_Upfile_Show_Layer');
if(!x) var x = (e.pageX) ? e.pageX : document.body.scrollLeft+event.clientX;
if(!y) var y = (e.pageY) ? e.pageY : document.body.scrollTop+event.clientY;
l.innerHTML = Layer_Tag;
l.style.position = 'absolute';
l.style.left = x;
l.style.top = y;
l.style.display = 'block';
}
}
//ÄÚ¸àÆ®»èÁ¦ ±ÇÇÑ
function getCommentDeletePermReview(isRoot,isAdmin,v_LogId,skin,uid,rp_id,ruid)
{
var pass = (isRoot != '0' || isAdmin != '0' || (v_LogId != '' && v_LogId == rp_id)) ? 1 : 0;
document.write("DELETE ");
}
//À̸§, ÀÔ·ÂÆû(ÄÚ¸àÆ®)
function getNameInputCmtReviewName(mbid,isroot)
{
var f = document.CommentForm;
var wperm = f.write_perm.value;
var yNull = " ";
var nNull = " ";
if (mbid != '' || isroot != '0')
{
if (wperm != '0')
{
document.write(nNull);
}
else {
document.write(yNull);
}
}
else {
if (wperm != '0')
{
document.write(" NAME ");
document.write(" ");
}
else {
document.write(yNull);
}
}
}
//À̸§, ÀÔ·ÂÆû(ÄÚ¸àÆ®)
function getNameInputCmtReviewPass(mbid,isroot)
{
var f = document.CommentForm;
var wperm = f.write_perm.value;
var yNull = " ";
var nNull = " ";
if (mbid != '' || isroot != '0')
{
if (wperm != '0')
{
document.write(nNull);
}
else {
document.write(yNull);
}
}
else {
if (wperm != '0')
{
document.write("PASSWORD ");
document.write(" ");
}
else {
document.write(yNull);
}
}
}
* Home > Health Information
Obesity (Overweight, Unhealthy Weight, Weight Problem)
The Facts on Obesity
Obesity is a leading cause of preventable illness and death in North America. In the last 10 years, the number of overweight people in industrialized countries has increased significantly - so much so that the World Health Organization (WHO) has called obesity an "epidemic." In the United States, 33% of the population - about 60 million people - are overweight. In Canada, about 10% to 25% of teenagers and 20% to 50% of all adults have a weight problem. People who are obese are at a much higher risk for serious medical conditions such as high blood pressure, heart attack, stroke, diabetes, gallbladder disease, and different cancers than people who have a healthy weight. Causes of Obesity Obesity occurs when your body consumes more calories than it burns. In the past, many people thought that obesity was simply caused by over-eating and under-exercising, resulting from a lack of will power and self-control. Although these are significant contributing factors, doctors recognize that obesity is a complex medical problem that involves genetic, environmental, behavioural, and social factors. All these factors play a role in determining a person's weight.
Recent research shows that in some cases, certain genetic factors may cause the changes in appetite and fat metabolism that lead to obesity. For a person who is genetically prone to weight gain (e.g., has a lower metabolism) and who leads an inactive and unhealthy lifestyle, the risk of becoming obese is high. Although a person's genetic makeup may contribute to obesity, it's not the primary cause. Environmental and behavioural factors have a greater influence - consuming excess calories from high fat foods and doing little or no daily physical activity over the long run will lead to weight gain. Psychological factors may also foster obesity. Low self-esteem, guilt, emotional stress, or trauma can lead to over-eating as a means to cope with the problem.
Symptoms and Complications of Obesity
The health risks associated with obesity are: - breathing disorders (e.g., sleep apneal, chronic obstructive pulmonary disease) - certain types of cancers (e.g., prostate and bowel cancer in men, breast and uterine cancer in women) - coronary artery (heart) disease - depression - diabetes - gall bladder or liver disease - high blood pressure - joint disease (e.g., osteoarthritis) - stroke People who are obese may have the symptoms of the medical conditions mentioned above. High blood pressure, high cholesterol levels, breathing problems, and joint pain (in the knees or lower back) are common. The more obese a person is, the more likely they are to have medical problems related to obesity.
Diagnosing Obesity
The diagnosis of obesity is usually based on a physical examination and a patient history (i.e., eating and exercise habits). A measurement called the body mass index (BMI) does not directly measure body fat, but according to Health Canada, the BMI is the most useful tool to assess the health risk associated with being overweight or obese. A BMI of 18.5 to 24.9 is considered within the healthy range. The BMI is calculated using kilograms (kg) and meters (m), instead of pounds (lb) and inches/feet. Keep in mind that 1 lb equals 0.45 kg and 1 inch equals 0.0254 m.
Total articles: 19 ,
1 / 2 page(s)