var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121179&x=1919',
		'title': '',
		'imageId': '70121179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121197&x=1919',
		'title': '',
		'imageId': '70121197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121186&x=1919',
		'title': '',
		'imageId': '70121186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121185&x=1919',
		'title': '',
		'imageId': '70121185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121190&x=1919',
		'title': '',
		'imageId': '70121190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121182&x=1919',
		'title': '',
		'imageId': '70121182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121196&x=1919',
		'title': '',
		'imageId': '70121196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121204&x=1919',
		'title': '',
		'imageId': '70121204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121184&x=1919',
		'title': '',
		'imageId': '70121184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121207&x=1919',
		'title': '',
		'imageId': '70121207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121200&x=1919',
		'title': '',
		'imageId': '70121200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121195&x=1919',
		'title': '',
		'imageId': '70121195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121199&x=1919',
		'title': '',
		'imageId': '70121199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121194&x=1919',
		'title': '',
		'imageId': '70121194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121202&x=1919',
		'title': '',
		'imageId': '70121202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121203&x=1919',
		'title': '',
		'imageId': '70121203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121181&x=1919',
		'title': '',
		'imageId': '70121181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121198&x=1919',
		'title': '',
		'imageId': '70121198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121191&x=1919',
		'title': '',
		'imageId': '70121191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121180&x=1919',
		'title': '',
		'imageId': '70121180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121201&x=1919',
		'title': '',
		'imageId': '70121201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121183&x=1919',
		'title': '',
		'imageId': '70121183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121187&x=1919',
		'title': '',
		'imageId': '70121187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121189&x=1919',
		'title': '',
		'imageId': '70121189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121193&x=1919',
		'title': '',
		'imageId': '70121193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121188&x=1919',
		'title': '',
		'imageId': '70121188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=70121192&x=1919',
		'title': '',
		'imageId': '70121192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=59270515&x=1919',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012995&docid=59270516&x=1919',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012995';

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