var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71581838&x=1642',
		'title': '',
		'imageId': '71581838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666515&x=1642',
		'title': '',
		'imageId': '71666515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666506&x=1642',
		'title': '',
		'imageId': '71666506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666532&x=1642',
		'title': '',
		'imageId': '71666532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666512&x=1642',
		'title': '',
		'imageId': '71666512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666516&x=1642',
		'title': '',
		'imageId': '71666516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666533&x=1642',
		'title': '',
		'imageId': '71666533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666519&x=1642',
		'title': '',
		'imageId': '71666519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666507&x=1642',
		'title': '',
		'imageId': '71666507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666520&x=1642',
		'title': '',
		'imageId': '71666520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666525&x=1642',
		'title': '',
		'imageId': '71666525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666514&x=1642',
		'title': '',
		'imageId': '71666514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666511&x=1642',
		'title': '',
		'imageId': '71666511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666529&x=1642',
		'title': '',
		'imageId': '71666529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666523&x=1642',
		'title': '',
		'imageId': '71666523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666517&x=1642',
		'title': '',
		'imageId': '71666517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666518&x=1642',
		'title': '',
		'imageId': '71666518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666528&x=1642',
		'title': '',
		'imageId': '71666528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666524&x=1642',
		'title': '',
		'imageId': '71666524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666522&x=1642',
		'title': '',
		'imageId': '71666522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666508&x=1642',
		'title': '',
		'imageId': '71666508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666527&x=1642',
		'title': '',
		'imageId': '71666527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666534&x=1642',
		'title': '',
		'imageId': '71666534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666526&x=1642',
		'title': '',
		'imageId': '71666526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666530&x=1642',
		'title': '',
		'imageId': '71666530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666509&x=1642',
		'title': '',
		'imageId': '71666509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666531&x=1642',
		'title': '',
		'imageId': '71666531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666510&x=1642',
		'title': '',
		'imageId': '71666510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666521&x=1642',
		'title': '',
		'imageId': '71666521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087228&docid=71666513&x=1642',
		'title': '',
		'imageId': '71666513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087228';

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