var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262538&x=200',
		'title': '',
		'imageId': '70262538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262536&x=200',
		'title': '',
		'imageId': '70262536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262531&x=200',
		'title': '',
		'imageId': '70262531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262532&x=200',
		'title': '',
		'imageId': '70262532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262527&x=200',
		'title': '',
		'imageId': '70262527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262534&x=200',
		'title': '',
		'imageId': '70262534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262528&x=200',
		'title': '',
		'imageId': '70262528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262530&x=200',
		'title': '',
		'imageId': '70262530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262535&x=200',
		'title': '',
		'imageId': '70262535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262537&x=200',
		'title': '',
		'imageId': '70262537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021433&docid=70262533&x=200',
		'title': '',
		'imageId': '70262533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021433';

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