if(typeof(octo_color_title)=='undefined')var octo_color_title = 'darkblue';
if(typeof(octo_color_border)=='undefined')var octo_color_border = 'darkblue';
if(typeof(octo_color_background)=='undefined')var octo_color_background = 'ghostwhite';
if(typeof(octo_color_break)=='undefined')var octo_color_break = 'black';
if(typeof(octo_client_height)=='undefined')var octo_client_height = 300;
if(typeof(octo_client_width)=='undefined')var octo_client_width = 200;
if(typeof(octo_color_link)=='undefined')var octo_color_link = '#0000CC';
if(typeof(octo_color_text)=='undefined')var octo_color_text = 'black';
if(typeof(octo_color_buy_text)=='undefined')var octo_color_buy_text = '#F5F5F5';
if(typeof(octo_color_buy_bg)=='undefined')var octo_color_buy_bg = '#1C58CC';
if(typeof(octo_color_buy_bg_over)=='undefined')var octo_color_buy_bg_over = '#0141BC';
var max_length = 16;
var isCSS, isW3C, isIE4, isNN4, isIE6CSS;
function initDHTMLAPI(){
if(document.images){
isCSS = (document.body && document.body.style)? true: false;
isW3C = (isCSS && document.getElementById)? true: false;
isIE4 = (isCSS && document.all)? true: false;
isNN4 = (document.layers)? true: false;
isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0)? true: false;
}
};
function getRawObject(obj) {
var theObj;
if(typeof obj == "string"){
if(isW3C){
theObj = document.getElementById(obj);
} else if(isIE4) {
theObj = document.all(obj);
} else if(isNN4) {
theObj = seekLayer(document,obj);
}
} else{
theObj = obj;
}
return theObj;
};
function Octo__build(pdict,pDiv){
pDiv.style.fontFamily = 'arial';
pDiv.style.fontSize= '10pt';
pDiv.style.width = octo_client_width+'px';
var active = document.createElement("div");
active.style.backgroundColor=octo_color_background;
active.style.border='1px solid '+octo_color_border;
active.style.width =octo_client_width+'px';
var pld = document.createElement("div");
pld.style.margin='2px';
var pmb = document.createElement("div");
var ml = document.createElement("div");
ml.style.fontSize='11pt';
ml.style.marginLeft='5px';
ml.style.marginTop='5px';
ml.style.fontWeight='bold';
var tDiv = document.createElement("div");
var tLk = document.createElement('a');
tLk.href ='http://octopart.com/partlist/view?id='+pdict.pub;
tLk.innerHTML = 'Mardus-Kreutz Unipolar Drive C';
tLk.style.color = octo_color_title;
tDiv.appendChild(tLk);
ml.appendChild(tDiv);
var creditDiv = document.createElement("div");
creditDiv.innerHTML = 'by: ediestel';
creditDiv.style.fontSize = '9pt';
creditDiv.style.marginLeft = '10px';
creditDiv.style.marginTop='2px';
creditDiv.style.marginBottom='5px';
creditDiv.style.color = octo_color_text;
pmb.appendChild(ml);
pmb.appendChild(creditDiv);
pld.appendChild(pmb);
var tbrk = document.createElement("div");
tbrk.style.backgroundColor=octo_color_break;
tbrk.style.height='1px';
tbrk.style.lineHeight='1px';
tbrk.style.zIndex=9;
tbrk.style.overflow='hidden';
pld.appendChild(tbrk);
plb = document.createElement('div');
plb.style.fontSize='11pt';
plb.style.color='black';
plb.style.padding='5px 0px 0px 0px';
plb.style.height=octo_client_height+'px';
plb.style.overflow='auto';
pld.appendChild(plb);
active.appendChild(pld);
pDiv.appendChild(active);
clrDiv = document.createElement('div');
clrDiv.style.clear = 'both';
pDiv.appendChild(clrDiv);
Octo__bPList(pdict,plb);
tbrk = document.createElement("div");
tbrk.style.backgroundColor=octo_color_break;
tbrk.style.height='1px';
tbrk.style.lineHeight='1px';
tbrk.style.zIndex=9;
tbrk.style.overflow='hidden';
pld.appendChild(tbrk);
var infoDiv = document.createElement('div');
var lkDiv = document.createElement('div');
lkDiv.style.margin = '3px';
lkDiv.style.styleFloat = 'right';
lkDiv.style.cssFloat = 'right';
var infoLk = document.createElement('a');
infoLk.href= 'http://octopart.com/partlist/view?id='+pdict.pub;
infoLk.innerHTML = 'details';
lkDiv.appendChild(infoLk);
clrDiv = document.createElement('div');
clrDiv.style.clear = 'both';
infoDiv.appendChild(clrDiv);
pld.appendChild(infoDiv);
};
function Octo__bPList(dList,plb){
if(!dList.parts.length){
var noslct = document.createElement('table');
var plRow = noslct.insertRow(-1);
var plcl = plRow.insertCell(0);
noslct.style.color = '#003399';
noslct.style.padding = '0px 0px 0px 3px';
plcl.innerHTML = " no parts in partlist"
plb.appendChild(noslct);
}
else{
var plTable = document.createElement("table");
plTable.style.width='100%';
plTable.cellPadding = '3';
plb.appendChild(plTable);
for(var i=0; i1) manunumDiv.appendChild(document.createTextNode(' '));
if((num_lks+1)*max_length>=pDict.manu_number.length){
var end_index = pDict.manu_number.length;
var this_string = pDict.manu_number.substring(num_lks*max_length,end_index);
manLink.appendChild(document.createTextNode(this_string));
manLink.style.color = octo_color_link;
manLink.style.fontSize= '11pt';
manunumDiv.appendChild(manLink);
}else{
var end_index = (num_lks+1)*max_length;
var this_string = pDict.manu_number.substring(num_lks*max_length,end_index);
manLink.appendChild(document.createTextNode(this_string));
manLink.style.color = octo_color_link;
manLink.style.fontSize= '11pt';
manunumDiv.appendChild(manLink);
manunumDiv.appendChild(document.createTextNode('... '));
}
num_lks +=1;
}
}
nameCell.appendChild(manuDiv);
nameCell.appendChild(manunumDiv);
}
var qtyCell = plRow.insertCell(1);
qtyCell.align='right';
qtyCell.style.width = '25%';
qtyCell.style.color = octo_color_text;
var qtyDiv = document.createElement('a');
qtyDiv.style.color = octo_color_text;
qtyDiv.style.fontSize= '11pt';
pDict.qtyDiv = qtyDiv;
qtyDiv.appendChild(document.createTextNode(pDict.quantity));
qtyCell.appendChild(qtyDiv);
};
var pDiv = document.createElement("div");
document.write("");
initDHTMLAPI();
Octo__build({"dsc": "Components for the Mardus-Kreutz unipolar stepper motor drive. Compare quantities with BOM at http://www.cnclayman.blogspot.com\r\nLast review 12-05-2008", "parts": [{"comment": "", "manu": "Ohmite", "info_url": "/15fr200e-ohmite-988771", "img_link": "http://cdn.sigma.octopart.com/8466074/image/Ohmite-15FR200E.jpg", "manu_number": "15FR200E", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/15FR200E-Ohmite-datasheet-119707.pdf", "quantity": "2", "id": "988771", "thumb_img": "http://cdn.sigma.octopart.com/8466077/image/Ohmite-15FR200E.jpg", "name": ""}, {"comment": "", "manu": "ON Semiconductor", "info_url": "/2n3904g-on+semiconductor-675", "img_link": "http://cdn.sigma.octopart.com/8453300/image/ON-Semiconductor-2N3904G.jpg", "manu_number": "2N3904G", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/2N3904G-ON-Semiconductor-datasheet-527660.pdf", "quantity": "2", "id": "675", "thumb_img": "http://cdn.sigma.octopart.com/8453303/image/ON-Semiconductor-2N3904G.jpg", "name": ""}, {"comment": "", "manu": "Illinois Capacitor", "info_url": "/477lbb160m2cc-illinois+capacitor-967510", "img_link": "http://cdn.sigma.octopart.com/182367/image/Illinois-Capacitor-477LBB160M2CC.jpg", "manu_number": "477LBB160M2CC", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/477LBB160M2CC-Illinois-Capacitor-datasheet-6837.pdf", "quantity": "2", "id": "967510", "thumb_img": "http://cdn.sigma.octopart.com/916878/image/Illinois-Capacitor-477LBB160M2CC.jpg", "name": ""}, {"comment": "", "manu": "Multicomp", "info_url": "/mcgpr16v106m5x11-rh-multicomp-969861", "img_link": "http://cdn.sigma.octopart.com/8450303/image/Multicomp-MCGPR16V106M5X11-RH.jpg", "manu_number": "MCGPR16V106M5X11-RH", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/MCGPR16V106M5X11-RH-Multicomp-datasheet-887.pdf", "quantity": "2", "id": "969861", "thumb_img": "http://cdn.sigma.octopart.com/8450306/image/Multicomp-MCGPR16V106M5X11-RH.jpg", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/515d106m025ja6ae3-vishay-7518072", "img_link": "", "manu_number": "515D106M025JA6AE3", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/515D106M025JA6AE3-Vishay-datasheet-8446082.pdf", "quantity": "2", "id": "7518072", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/515d107m025aa6ae3-vishay-132552", "img_link": "http://cdn.sigma.octopart.com/8457035/image/Vishay-515D107M025AA6AE3.jpg", "manu_number": "515D107M025AA6AE3", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/515D107M025AA6AE3-Vishay-datasheet-5333786.pdf", "quantity": "2", "id": "132552", "thumb_img": "http://cdn.sigma.octopart.com/8457038/image/Vishay-515D107M025AA6AE3.jpg", "name": ""}, {"comment": "", "manu": "Micro Commercial", "info_url": "/sd103c-tp-micro+commercial-333564", "img_link": "", "manu_number": "SD103C-TP", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/SD103C-TP-Micro-Commercial-datasheet-136928.pdf", "quantity": "2", "id": "333564", "thumb_img": "", "name": ""}, {"comment": "", "manu": "STMicroelectronics", "info_url": "/m74hc14b1r-stmicroelectronics-23359", "img_link": "http://cdn.sigma.octopart.com/472285/image/STMicroelectronics-M74HC14B1R.gif", "manu_number": "M74HC14B1R", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/M74HC14B1R-STMicroelectronics-datasheet-7549308.pdf", "quantity": "2", "id": "23359", "thumb_img": "http://cdn.sigma.octopart.com/822915/image/STMicroelectronics-M74HC14B1R.gif", "name": ""}, {"comment": "", "manu": "Texas Instruments", "info_url": "/tlv2772aip-texas+instruments-410338", "img_link": "", "manu_number": "TLV2772AIP", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/TLV2772AIP-Texas-Instruments-datasheet-148657.pdf", "quantity": "2", "id": "410338", "thumb_img": "", "name": ""}, {"comment": "", "manu": "ON Semiconductor", "info_url": "/mc7805btg-on+semiconductor-53246", "img_link": "http://cdn.sigma.octopart.com/499198/image/ON-Semiconductor-MC7805BTG.jpg", "manu_number": "MC7805BTG", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/MC7805BTG-ON-Semiconductor-datasheet-8324306.pdf", "quantity": "2", "id": "53246", "thumb_img": "http://cdn.sigma.octopart.com/822116/image/ON-Semiconductor-MC7805BTG.jpg", "name": ""}, {"comment": "", "manu": "STMicroelectronics", "info_url": "/l7809abv-stmicroelectronics-526757", "img_link": "", "manu_number": "L7809ABV", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/L7809ABV-STMicroelectronics-datasheet-15477.pdf", "quantity": "2", "id": "526757", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Texas Instruments", "info_url": "/sn74hct02n-texas+instruments-465475", "img_link": "http://cdn.sigma.octopart.com/472285/image/Texas-Instruments-SN74HCT02N.gif", "manu_number": "SN74HCT02N", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/SN74HCT02N-Texas-Instruments-datasheet-149907.pdf", "quantity": "2", "id": "465475", "thumb_img": "http://cdn.sigma.octopart.com/822915/image/Texas-Instruments-SN74HCT02N.gif", "name": ""}, {"comment": "", "manu": "Schurter", "info_url": "/0034.3127-schurter-5041", "img_link": "http://cdn.sigma.octopart.com/532182/image/Schurter-0034.3127..jpg", "manu_number": "0034.3127", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/0034.3127-Schurter-datasheet-120584.pdf", "quantity": "2", "id": "5041", "thumb_img": "http://cdn.sigma.octopart.com/845942/image/Schurter-0034.3127..jpg", "name": ""}, {"comment": "", "manu": "Molex", "info_url": "/39543-0006-molex-5418750", "img_link": "http://cdn.sigma.octopart.com/8456686/image/Molex-39543-0006.jpg", "manu_number": "39543-0006", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/39543-0006-Molex-datasheet-5156.pdf", "quantity": "2", "id": "5418750", "thumb_img": "http://cdn.sigma.octopart.com/8456689/image/Molex-39543-0006.jpg", "name": ""}, {"comment": "", "manu": "Camden Electronics", "info_url": "/ctb3051%2F2-camden+electronics-5443825", "img_link": "http://cdn.sigma.octopart.com/535290/image/Camden-Electronics-CTB3051/2.jpg", "manu_number": "CTB3051/2", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/CTB3051/2-Camden-Electronics-datasheet-536195.pdf", "quantity": "2", "id": "5443825", "thumb_img": "http://cdn.sigma.octopart.com/1480406/image/Camden-Electronics-CTB3051/2.jpg", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/irl640pbf-vishay-7370717", "img_link": "http://cdn.sigma.octopart.com/172343/image/Vishay-IRL640PBF.jpg", "manu_number": "IRL640PBF", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/IRL640PBF-Vishay-datasheet-13429.pdf", "quantity": "2", "id": "7370717", "thumb_img": "http://cdn.sigma.octopart.com/822508/image/Vishay-IRL640PBF.jpg", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/064p502-vishay-974411", "img_link": "http://cdn.sigma.octopart.com/183327/image/Vishay-064P502.jpg", "manu_number": "064P502", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/064P502-Vishay-datasheet-8724.pdf", "quantity": "2", "id": "974411", "thumb_img": "http://cdn.sigma.octopart.com/1295616/image/Vishay-064P502.jpg", "name": ""}, {"comment": "", "manu": "Texas Instruments", "info_url": "/ucc27424d-texas+instruments-455105", "img_link": "http://cdn.sigma.octopart.com/280375/image/Texas-Instruments-UCC27424D.jpg", "manu_number": "UCC27424D", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/UCC27424D-Texas-Instruments-datasheet-149284.pdf", "quantity": "2", "id": "455105", "thumb_img": "http://cdn.sigma.octopart.com/843043/image/Texas-Instruments-UCC27424D.jpg", "name": ""}, {"comment": "", "manu": "Littelfuse", "info_url": "/01110506h-littelfuse-557271", "img_link": "http://cdn.sigma.octopart.com/8500831/image/Littelfuse-01110506H.jpg", "manu_number": "01110506H", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/01110506H-Littelfuse-datasheet-10107.pdf", "quantity": "2", "id": "557271", "thumb_img": "http://cdn.sigma.octopart.com/8500834/image/Littelfuse-01110506H.jpg", "name": ""}, {"comment": "", "manu": "Century Interconnect", "info_url": "/c3hds002-3-04-century+interconnect-8128287", "img_link": "", "manu_number": "C3HDS002-3-04", "swf_link": "", "pdf_link": "", "quantity": "2", "id": "8128287", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Panasonic", "info_url": "/ece-a1hge010-panasonic-213983", "img_link": "", "manu_number": "ECE-A1HGE010", "swf_link": "", "pdf_link": "", "quantity": "2", "id": "213983", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/199d105x9050b1v1e3-vishay-93049", "img_link": "http://cdn.sigma.octopart.com/8447576/image/Vishay-199D105X9050B1V1E3.jpg", "manu_number": "199D105X9050B1V1E3", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/199D105X9050B1V1E3-Vishay-datasheet-501258.pdf", "quantity": "1", "id": "93049", "thumb_img": "http://cdn.sigma.octopart.com/8447579/image/Vishay-199D105X9050B1V1E3.jpg", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/173d104x9050ue3-vishay-140568", "img_link": "", "manu_number": "173D104X9050UE3", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/173D104X9050UE3-Vishay-datasheet-503008.pdf", "quantity": "1", "id": "140568", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/150d106x9050r2be3-vishay-136978", "img_link": "", "manu_number": "150D106X9050R2BE3", "swf_link": "", "pdf_link": "", "quantity": "1", "id": "136978", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Vishay", "info_url": "/53d101f250gj6e3-vishay-140854", "img_link": "", "manu_number": "53D101F250GJ6E3", "swf_link": "", "pdf_link": "", "quantity": "1", "id": "140854", "thumb_img": "", "name": ""}, {"comment": "", "manu": "Murata", "info_url": "/grm319r71h104ka01d-murata-196487", "img_link": "http://cdn.sigma.octopart.com/5233731/image/Murata-GRM319R71H104KA01D.jpeg", "manu_number": "GRM319R71H104KA01D", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/GRM319R71H104KA01D-Murata-datasheet-102.pdf", "quantity": "1", "id": "196487", "thumb_img": "http://cdn.sigma.octopart.com/5233734/image/Murata-GRM319R71H104KA01D.jpeg", "name": ""}, {"comment": "", "manu": "AVX", "info_url": "/12065a102kat2a-avx-195821", "img_link": "http://cdn.sigma.octopart.com/177775/image/AVX-12065A102KAT2A.jpg", "manu_number": "12065A102KAT2A", "swf_link": "", "pdf_link": "http://datasheet.octopart.com/12065A102KAT2A-AVX-datasheet-5313633.pdf", "quantity": "1", "id": "195821", "thumb_img": "http://cdn.sigma.octopart.com/939341/image/AVX-12065A102KAT2A.jpg", "name": ""}, {"comment": "", "manu": "Murata", "info_url": "/rpe110y5v103z050v-murata-2798558", "img_link": "", "manu_number": "RPE110Y5V103Z050V", "swf_link": "", "pdf_link": "", "quantity": "1", "id": "2798558", "thumb_img": "", "name": ""}], "id": 77271107, "pub": "NjMyODI5", "title": "Mardus-Kreutz Unipolar Drive C"},getRawObject('octo__pl'));