var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131007&x=1733',
		'title': '',
		'imageId': '70131007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131004&x=1733',
		'title': '',
		'imageId': '70131004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131030&x=1733',
		'title': '',
		'imageId': '70131030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131026&x=1733',
		'title': '',
		'imageId': '70131026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131019&x=1733',
		'title': '',
		'imageId': '70131019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131029&x=1733',
		'title': '',
		'imageId': '70131029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131034&x=1733',
		'title': '',
		'imageId': '70131034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131020&x=1733',
		'title': '',
		'imageId': '70131020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131000&x=1733',
		'title': '',
		'imageId': '70131000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131032&x=1733',
		'title': '',
		'imageId': '70131032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131005&x=1733',
		'title': '',
		'imageId': '70131005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131013&x=1733',
		'title': '',
		'imageId': '70131013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131012&x=1733',
		'title': '',
		'imageId': '70131012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131002&x=1733',
		'title': '',
		'imageId': '70131002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131006&x=1733',
		'title': '',
		'imageId': '70131006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131015&x=1733',
		'title': '',
		'imageId': '70131015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131022&x=1733',
		'title': '',
		'imageId': '70131022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131008&x=1733',
		'title': '',
		'imageId': '70131008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131014&x=1733',
		'title': '',
		'imageId': '70131014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131018&x=1733',
		'title': '',
		'imageId': '70131018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131016&x=1733',
		'title': '',
		'imageId': '70131016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131011&x=1733',
		'title': '',
		'imageId': '70131011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70130996&x=1733',
		'title': '',
		'imageId': '70130996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131017&x=1733',
		'title': '',
		'imageId': '70131017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131024&x=1733',
		'title': '',
		'imageId': '70131024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131021&x=1733',
		'title': '',
		'imageId': '70131021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70130999&x=1733',
		'title': '',
		'imageId': '70130999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131027&x=1733',
		'title': '',
		'imageId': '70131027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131001&x=1733',
		'title': '',
		'imageId': '70131001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131025&x=1733',
		'title': '',
		'imageId': '70131025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131031&x=1733',
		'title': '',
		'imageId': '70131031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131036&x=1733',
		'title': '',
		'imageId': '70131036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131023&x=1733',
		'title': '',
		'imageId': '70131023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131035&x=1733',
		'title': '',
		'imageId': '70131035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131033&x=1733',
		'title': '',
		'imageId': '70131033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016436&docid=70131003&x=1733',
		'title': '',
		'imageId': '70131003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016436';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
