var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975509&x=2659',
		'title': '',
		'imageId': '69975509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975510&x=2659',
		'title': '',
		'imageId': '69975510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975511&x=2659',
		'title': '',
		'imageId': '69975511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975512&x=2659',
		'title': '',
		'imageId': '69975512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975513&x=2659',
		'title': '',
		'imageId': '69975513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975514&x=2659',
		'title': '',
		'imageId': '69975514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975515&x=2659',
		'title': '',
		'imageId': '69975515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975516&x=2659',
		'title': '',
		'imageId': '69975516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975517&x=2659',
		'title': '',
		'imageId': '69975517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010669&docid=69975518&x=2659',
		'title': '',
		'imageId': '69975518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010669';

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