var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585295&x=4038',
		'title': '',
		'imageId': '70585295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585292&x=4038',
		'title': '',
		'imageId': '70585292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585290&x=4038',
		'title': '',
		'imageId': '70585290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585309&x=4038',
		'title': '',
		'imageId': '70585309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585296&x=4038',
		'title': '',
		'imageId': '70585296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585300&x=4038',
		'title': '',
		'imageId': '70585300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585303&x=4038',
		'title': '',
		'imageId': '70585303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585291&x=4038',
		'title': '',
		'imageId': '70585291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585307&x=4038',
		'title': '',
		'imageId': '70585307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585302&x=4038',
		'title': '',
		'imageId': '70585302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585298&x=4038',
		'title': '',
		'imageId': '70585298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585308&x=4038',
		'title': '',
		'imageId': '70585308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585299&x=4038',
		'title': '',
		'imageId': '70585299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585304&x=4038',
		'title': '',
		'imageId': '70585304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585293&x=4038',
		'title': '',
		'imageId': '70585293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585310&x=4038',
		'title': '',
		'imageId': '70585310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585306&x=4038',
		'title': '',
		'imageId': '70585306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585297&x=4038',
		'title': '',
		'imageId': '70585297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585305&x=4038',
		'title': '',
		'imageId': '70585305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585294&x=4038',
		'title': '',
		'imageId': '70585294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=70585301&x=4038',
		'title': '',
		'imageId': '70585301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=59270515&x=4038',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028127&docid=59270516&x=4038',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028127';

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";
	})
}
