var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280745&x=534',
		'title': '',
		'imageId': '69280745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280750&x=534',
		'title': '',
		'imageId': '69280750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280744&x=534',
		'title': '',
		'imageId': '69280744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280749&x=534',
		'title': '',
		'imageId': '69280749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280747&x=534',
		'title': '',
		'imageId': '69280747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280751&x=534',
		'title': '',
		'imageId': '69280751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280742&x=534',
		'title': '',
		'imageId': '69280742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280743&x=534',
		'title': '',
		'imageId': '69280743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280746&x=534',
		'title': '',
		'imageId': '69280746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980677&docid=69280748&x=534',
		'title': '',
		'imageId': '69280748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980677';

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