var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448802&x=718',
		'title': '',
		'imageId': '68448802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448801&x=718',
		'title': '',
		'imageId': '68448801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448809&x=718',
		'title': '',
		'imageId': '68448809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448805&x=718',
		'title': '',
		'imageId': '68448805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448806&x=718',
		'title': '',
		'imageId': '68448806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448808&x=718',
		'title': '',
		'imageId': '68448808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448810&x=718',
		'title': '',
		'imageId': '68448810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448804&x=718',
		'title': '',
		'imageId': '68448804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448807&x=718',
		'title': '',
		'imageId': '68448807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944412&docid=68448803&x=718',
		'title': '',
		'imageId': '68448803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944412';

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