var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380466&x=3656',
		'title': '',
		'imageId': '69380466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380470&x=3656',
		'title': '',
		'imageId': '69380470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380471&x=3656',
		'title': '',
		'imageId': '69380471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380472&x=3656',
		'title': '',
		'imageId': '69380472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380473&x=3656',
		'title': '',
		'imageId': '69380473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380475&x=3656',
		'title': '',
		'imageId': '69380475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380476&x=3656',
		'title': '',
		'imageId': '69380476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380477&x=3656',
		'title': '',
		'imageId': '69380477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380478&x=3656',
		'title': '',
		'imageId': '69380478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380479&x=3656',
		'title': '',
		'imageId': '69380479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380480&x=3656',
		'title': '',
		'imageId': '69380480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380481&x=3656',
		'title': '',
		'imageId': '69380481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380508&x=3656',
		'title': '',
		'imageId': '69380508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380509&x=3656',
		'title': '',
		'imageId': '69380509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380512&x=3656',
		'title': '',
		'imageId': '69380512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985032&docid=69380515&x=3656',
		'title': '',
		'imageId': '69380515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985032';

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