var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509364&x=112',
		'title': '',
		'imageId': '67509364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509365&x=112',
		'title': '',
		'imageId': '67509365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509366&x=112',
		'title': '',
		'imageId': '67509366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509367&x=112',
		'title': '',
		'imageId': '67509367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509368&x=112',
		'title': '',
		'imageId': '67509368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509369&x=112',
		'title': '',
		'imageId': '67509369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509370&x=112',
		'title': '',
		'imageId': '67509370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509371&x=112',
		'title': '',
		'imageId': '67509371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509372&x=112',
		'title': '',
		'imageId': '67509372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904253&docid=67509373&x=112',
		'title': '',
		'imageId': '67509373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904253';

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