﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" \",\" \",\" diabetes type pathophysiology diabetes characterized decreased glucose uptake peripheral tissues insulin resistance increased hepatic production unsuppressed postprandial glucagon secretion impaired meal stimulated release accelerated gastric emptying rate which allows derived enter circulation ability pancreatic beta cell secrete diabetics also have diminished first phase response this means that they same levels healthy individuals when body exposed here quick down hormones enzymes involved relate drug therapy       insulin secreted cells functions improve muscles other organs glucagon convert glycogen liver incretin gastrointestinal tract stimulate mediated clinical significance glp-1 like peptide glucose-dependent insulinotropic both these known cause dependent and  reduce they thought able increase mass amylin hormone along with food intake slow suppress regulate centrally modulation appetite dpp-iv enzyme inactivates symptoms hyperglycemia often asymptomatic polyuria polydipsia polyphagia gradual microvascular complications such diabetic retinopathy renal dysfunction nerve damage manifested numbness tingling extremities macrovascular cardiovascular disease strokes most deaths hypoglycemia sweating tachycardia palpitations tremor headache confusion irritability visual disturbances personality changes seizures unconsciousness labs fasting plasma 100-125mg defined pre-diabetes 126mg diagnostic plasma occasion classic symptoms  ogtt- oral tolerance test before administering fasting drawn then adults standard solution administered blood samples every minutes hours values should  peak hour return normal thing else abnormal result 140-199 200mg separate occasions type  a1c glycosylated hemoglobin level reflects average over months goal pharmacological less effective lowering then higher a1cs this because drugs target hyperglycemia very well post prandial contribute more does goals aace pressure <100mg patients multiple risk factors <70mg triglycerides <150 women 90-130 ≤110 post ≤140 treatment diet exercise usually starting point single agent added next still uncontrolled second from different class after injectable early emerging trend progressive estimated will require after 5-10 years drugs available include sulfonylureas meglitanides sulfonylurea secretagogues glucosidase inhibitors thiazlidinediones biguanides dpp-4 dipeptidyl- peptidase-4 include following glyburide diabeta® micronase® glipizide glucotrol® glimeperide amaryl® work stimulating failure seen long term decrease both efficiency number should taken main divided doses when used monotherapy  5-2% glyburide hypoglycemia others associated cardiac ischemia better choices major side effects weight gain repaglinide prandin® natelginide starlix® repaglinide appears nateglinide 7-1% these intended before meals possibly sulfonylureas generally considered primarily cleared metabolism acarbose precose® miglitol glyset® inhibiting glucosidase small intestine thus interfering carbohydrate hydrolysis resulting delayed absorption monosacccharides monotherapy 5-1% each fatal failure rare cases moderate been reported major unabsorbed carbohydrates abdominal pain diarrhea flatulence slow titration upward diminish concern unless combined contraindicated chronic intestinal diseases thiazolidinediones pioglitazone actos rosiglitazone avandia increasing sensitivity adipose tissue skeletal take weeks maximum usually once triglycerides hdl  10-20% hepatotoxicity subcutaneous visceral adiposity fluid retention rarely generally only biguanide approved metformin glucophage works mostly decreasing output lesser extent improving does lipid positive effect reducing lactic acidosis avoid failure[even temporary function induced contrast dyes] surgery gastrointestinal metallic taste nausea minimized dose slowly taking includes sitagliptin januvia results turn stimulates synthesis decreases manner 100mg inhibits increases about fold 48-0 side similar placebo degrades many peptides what poses home \",\" blood glucose \",\" osteoporosis pathophysiology  symptoms  labs goals  treatment pathophysiology results when there faster bone resorption then formation persons with higher mass accumulation during pubertal years less likely have osteoporosis later most thin caucasian asian women blacks generally affected  medications steroids excess thyroid hormone phenothiazines cyclosporine methotrexate phenobarbtal phenytoin heparin gnrh agonists menopause poor nutrition decreased intake calcium vitamin [especially adolescence] lack physical activity alcohol smoking increase chances developing symptoms there symptoms early the disease   later lower back pain neck felt dull muscle also common disease progresses sharp especially after spinal vertebral compression fractures that result stooped posture evident falls will wrist goals calcium dose-1000mg elemental adults between ages 19-50 including pregnant lactating 1200mg persons single dose should exceed 600mg carbonate phosphate insoluble salts require stomach acidity dissolve taken food citrate gluconate lactate soluble without side effects constipation bloating vitamin dose- for birth 51-70 600-800 pro-vitamins found foods- ergosterol 7-dehydrocholesterol presence light skin these converted ergocalciferol cholecalciferol respectively refers cholecalciferol body liver kidney calcitriol rocaltrol calcitriol considered active form comes intestinal transport \",\" \");");
d.write("var pageMap = new Array(\"DrugInfoWeb Home\",\"Medical Conditions\",\"Diabetes\",\"A1C-Blood Glucose\",\"Osteoporosis\",\"test\");");
d.write("var linkMap = new Array(\"index.html\",\"mc.html\",\"Diabetes.html\",\"A1C-Blood Glucose.html\",\"Osteoporosis.html\",\"test.html\");");
d.write("var preMap = new Array(\"\",\"\",\"Diabetes Type 2  Pathophysiology  Type 2 diabetes is characterized by decreased glucose uptake by peripheral tissues (insulin resistance), increased hepatic production of glucose, unsuppressed postpra\",\"A1C Blood Glucose (mg/dl) 6 135 7 170 8 210 9 240 10 275 11 310 12 345 \",\"Osteoporosis  Pathophysiology  Symptoms  Labs Goals  Treatment  Pathophysiology Osteoporosis results when there is faster bone resorption then bone formation. Persons with higher bone mass accumulatio\",\"\");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" "+resultsText+" \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}
