var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179205&x=927',
		'title': '',
		'imageId': '69179205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179197&x=927',
		'title': '',
		'imageId': '69179197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179192&x=927',
		'title': '',
		'imageId': '69179192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179201&x=927',
		'title': '',
		'imageId': '69179201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179199&x=927',
		'title': '',
		'imageId': '69179199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179203&x=927',
		'title': '',
		'imageId': '69179203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179198&x=927',
		'title': '',
		'imageId': '69179198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179202&x=927',
		'title': '',
		'imageId': '69179202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179206&x=927',
		'title': '',
		'imageId': '69179206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179210&x=927',
		'title': '',
		'imageId': '69179210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179213&x=927',
		'title': '',
		'imageId': '69179213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179212&x=927',
		'title': '',
		'imageId': '69179212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179209&x=927',
		'title': '',
		'imageId': '69179209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179193&x=927',
		'title': '',
		'imageId': '69179193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179211&x=927',
		'title': '',
		'imageId': '69179211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179207&x=927',
		'title': '',
		'imageId': '69179207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179194&x=927',
		'title': '',
		'imageId': '69179194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179208&x=927',
		'title': '',
		'imageId': '69179208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179195&x=927',
		'title': '',
		'imageId': '69179195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179196&x=927',
		'title': '',
		'imageId': '69179196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179215&x=927',
		'title': '',
		'imageId': '69179215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179214&x=927',
		'title': '',
		'imageId': '69179214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179204&x=927',
		'title': '',
		'imageId': '69179204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976341&docid=69179200&x=927',
		'title': '',
		'imageId': '69179200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976341';

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